dvbbasebin: unref pat table after usage
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 7 Mar 2016 22:06:19 +0000 (19:06 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 24 Mar 2016 14:29:35 +0000 (11:29 -0300)
Remember to unref the GPtrArray of the PAT table after
use

sys/dvb/dvbbasebin.c

index 86a1e0e..fa41210 100644 (file)
@@ -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);