From 891dbdbc2bf19750cc72248d6d1a633b9b1bbc5e Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 7 Mar 2016 19:06:19 -0300 Subject: dvbbasebin: unref pat table after usage Remember to unref the GPtrArray of the PAT table after use --- sys/dvb/dvbbasebin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c index 6891291f1..ff323a6f6 100644 --- a/sys/dvb/dvbbasebin.c +++ b/sys/dvb/dvbbasebin.c @@ -1099,6 +1099,7 @@ dvb_base_bin_pat_info_cb (DvbBaseBin * dvbbasebin, GstMpegtsSection * section) rebuild_filter = TRUE; } } + g_ptr_array_unref (pat); if (rebuild_filter) dvb_base_bin_rebuild_filter (dvbbasebin); -- cgit v1.2.1