From aa6aefc496c6361d22be9ac17b89a3c4b79f44e4 Mon Sep 17 00:00:00 2001 From: Amarinder Bindra Date: Tue, 8 Oct 2013 20:05:02 +0530 Subject: [PATCH] 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 --- util/demux.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.39.2