summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2016-03-07 19:06:19 -0300
committerTim-Philipp Müller <tim@centricular.com>2016-04-06 14:31:22 +0100
commit891dbdbc2bf19750cc72248d6d1a633b9b1bbc5e (patch)
tree1739f8469a4bc72f4a0df6d5b2df346ce4e0fb4f
parentcecf4b8854426197b629607618d5142d2bb21deb (diff)
downloadgstreamer-plugins-bad-891dbdbc2bf19750cc72248d6d1a633b9b1bbc5e.tar.gz
dvbbasebin: unref pat table after usage
Remember to unref the GPtrArray of the PAT table after use
-rw-r--r--sys/dvb/dvbbasebin.c1
1 files changed, 1 insertions, 0 deletions
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);