From: superdump Date: Wed, 29 Aug 2007 14:21:31 +0000 (+0000) Subject: These calls to free produce double free warnings. It seems that removing the avpictur... X-Git-Tag: 0.9.1~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28a00347776cdcaa9b2d4cc0e5855089bc0c4f76;p=handbrake These calls to free produce double free warnings. It seems that removing the avpicture_free calls doesn't stop the warnings. Confusing to me as the buffers aren't freed elsewhere, but removing these seems to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@891 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/hb.c b/libhb/hb.c index e90daeb0d..7b75e8511 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -419,10 +419,6 @@ void hb_get_preview( hb_handle_t * h, hb_title_t * title, int picture, avpicture_free( &pic_scale ); avpicture_free( &pic_deint ); avpicture_free( &pic_in ); - free( buf1 ); - free( buf2 ); - free( buf3 ); - free( buf4 ); } /**