From 12491db87e85c9d6a004752985efd10f0dee84bd Mon Sep 17 00:00:00 2001 From: saintdev Date: Wed, 4 Apr 2007 09:08:00 +0000 Subject: maurj reported a double-free crash that I am unable to reproduce. This removes an extra free that appears to be the problem. Better to leak a little memory than have some users crash. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@474 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encavcodec.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libhb') diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index 721644fbe..6c6b742f6 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -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 ) { -- cgit v1.2.3