Fix for DEV-45609 "CID-47 and CID-154 - bogus allocation/memset in Quicktime plugin"

(Fixed line endings for commit hook)
Reviewed by Rick.
meow-7.2.2
Callum Prentice 2010-02-03 15:16:57 -08:00
parent 20694367c2
commit 9c608d4db5
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ private:
return false;
// allocate some space and grab it
UInt8* item_data = new UInt8[ size + 1 ];
UInt8* item_data = new UInt8[ size + 1 ];
memset( item_data, 0, ( size + 1 ) * sizeof( UInt8 ) );
result = QTMetaDataGetItemValue( media_data_ref, item, item_data, size, NULL );
if ( noErr != result )