opnsense-ports/multimedia/mp4v2/files/patch-util-mp4chaps.cpp
Franco Fichtner e7f30ee304 */*: sync with upstream
Taken from: HardenedBSD
2019-08-28 06:03:29 +02:00

10 lines
360 B
C++

--- util/mp4chaps.cpp.orig 2012-05-20 22:11:55 UTC
+++ util/mp4chaps.cpp
@@ -856,6 +856,7 @@ ChapterUtility::readChapterFile( const s
if( in.read( inBuf, fileSize, nin ) )
{
in.close();
+ free(inBuf);
return herrf( "reading chapter file '%s' failed: %s\n", filename.c_str(), sys::getLastErrorStr() );
}
in.close();