[glib: 1/2] glib.supp: Allow possible leaks of g_type_register_static()



commit 567caa9b29f41f5e175b4c9f9a75e0b7b28aa89b
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat May 2 10:20:43 2020 -0700

    glib.supp: Allow possible leaks of g_type_register_static()
    
    It seems this should not only be marked reachable, but also for possible
    leaks, as the realloc() variant already is.
    
    https://gitlab.gnome.org/GNOME/glib/-/issues/1911

 glib.supp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib.supp b/glib.supp
index a732aa512..a59a9b905 100644
--- a/glib.supp
+++ b/glib.supp
@@ -127,7 +127,7 @@
 {
        g-type-register-static
        Memcheck:Leak
-       match-leak-kinds:reachable
+       match-leak-kinds:possible,reachable
        fun:malloc
        ...
        fun:g_type_register_static
@@ -145,7 +145,7 @@
 {
        g-type-register-static-calloc
        Memcheck:Leak
-       match-leak-kinds:reachable
+       match-leak-kinds:possible,reachable
        fun:calloc
        ...
        fun:g_type_register_static


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]