From 941d5544cfe28327fdad666d0943075ac9e0131c Mon Sep 17 00:00:00 2001 From: Izaron Date: Wed, 7 Dec 2016 20:05:38 +0300 Subject: [PATCH] Fixed memory leak with XDS videos --- src/lib_ccx/ts_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib_ccx/ts_info.c b/src/lib_ccx/ts_info.c index 79f7ccb0..9aac1d2f 100644 --- a/src/lib_ccx/ts_info.c +++ b/src/lib_ccx/ts_info.c @@ -256,6 +256,7 @@ void dinit_cap (struct ccx_demuxer *ctx) { iter = list_entry(ctx->cinfo_tree.all_stream.next, struct cap_info, all_stream); list_del(&iter->all_stream); + freep(&iter->capbuf); free(iter); } INIT_LIST_HEAD(&ctx->cinfo_tree.all_stream);