util/demuxer: Fix the memory leak
[glsdk/omapdrmtest.git] / util / demux.c
index e4fc150c41fa6067852d57ea51a8f23dff7639fe..eec057872ec583c68a2c0b24c9e9c4ed22f4492a 100644 (file)
@@ -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);
        av_close_input_file(demux->afc);
        if (demux->bsf)
                av_bitstream_filter_close(demux->bsf);
+       free(esds_data);
        free(demux);
 }
        free(demux);
 }