From c77e9c8cdaad767c5affd8c91faf9d3026644c29 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 7 Mar 2016 19:06:19 -0300 Subject: [PATCH] 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 86a1e0e6ce..fa41210c60 100644 --- a/sys/dvb/dvbbasebin.c +++ b/sys/dvb/dvbbasebin.c @@ -1096,6 +1096,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);