From: Maksym Veremeyenko Date: Thu, 19 Jul 2012 08:09:35 +0000 (+0300) Subject: fix memleak if file fails to open X-Git-Url: https://git.sesse.net/?p=mlt;a=commitdiff_plain;h=a2ad063d360d76163e7b0fd70e718de851db2dc8 fix memleak if file fails to open --- diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c index d3f08849..263972b8 100644 --- a/src/modules/avformat/producer_avformat.c +++ b/src/modules/avformat/producer_avformat.c @@ -199,6 +199,7 @@ mlt_producer producer_avformat_init( mlt_profile profile, const char *service, c // Clean up mlt_producer_close( producer ); producer = NULL; + producer_avformat_close( self ); } else if ( self->seekable ) {