OSDN Git Service

maurj reported a double-free crash that I am unable to reproduce. This removes an...
authorsaintdev <saintdev@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 4 Apr 2007 09:08:00 +0000 (09:08 +0000)
committersaintdev <saintdev@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 4 Apr 2007 09:08:00 +0000 (09:08 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@474 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/encavcodec.c

index 721644f..6c6b742 100644 (file)
@@ -153,7 +153,6 @@ void encavcodecClose( hb_work_object_t * w )
         hb_log( "encavcodec: closing libavcodec" );
         avcodec_flush_buffers( pv->context );
         avcodec_close( pv->context );
-        free( pv->context );
     }
     if( pv->file )
     {