From: Amarinder Bindra Date: Tue, 8 Oct 2013 14:35:02 +0000 (+0530) Subject: util/demuxer: Fix the memory leak X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fomapdrmtest.git;a=commitdiff_plain;h=aa6aefc496c6361d22be9ac17b89a3c4b79f44e4;ds=sidebyside util/demuxer: Fix the memory leak Free the memory for esds_data aloocated during demux_init once the demux_deinit is called. Signed-off-by: Amarinder Bindra --- diff --git a/util/demux.c b/util/demux.c index e4fc150..eec0578 100644 --- a/util/demux.c +++ b/util/demux.c @@ -231,5 +231,6 @@ void demux_deinit(struct demux *demux) av_close_input_file(demux->afc); if (demux->bsf) av_bitstream_filter_close(demux->bsf); + free(esds_data); free(demux); }