gst.supp: Suppression for allocation done only once at initialization
authorEdward Hervey <bilboed@bilboed.com>
Fri, 27 Nov 2009 17:29:47 +0000 (18:29 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 27 Nov 2009 17:29:47 +0000 (18:29 +0100)
Tags are only registered once, and we keep a reference to some classes.

gst.supp

index c9a57b7..f368a14 100644 (file)
--- a/gst.supp
+++ b/gst.supp
    fun:_priv_gst_registry_chunks_load_plugin
 }
 
+# system-wide tags
+# these tags are registered once
+
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Leak
+   fun:*alloc
+   fun:*
+   fun:*
+   fun:gst_tag_register
+   fun:_gst_tag_initialize
+}
+
+# system-wide type classes that we keep referenced
+
+{
+   <insert_a_suppression_name_here>
+   Memcheck:Leak
+   fun:*alloc
+   fun:*
+   fun:*
+   fun:*
+   fun:*
+   fun:g_type_class_ref
+   fun:init_post
+}