[glib/gobject_init-suppression] glib.supp: make gobject_init() calloc also of the possible kind



commit 9cc863e59a91d9cb4fdaa097397f3f062b4e4939
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Sep 4 16:36:39 2019 +0300

    glib.supp: make gobject_init() calloc also of the possible kind
    
    It's currently marked only as reachable but Valgrind also finds it as
    possible:
    
    ==18842== 96 bytes in 1 blocks are possibly lost in loss record 2,029 of 2,284
    ==18842==    at 0x4837B65: calloc (vg_replace_malloc.c:762)
    ==18842==    by 0x49614AD: g_malloc0 (gmem.c:129)
    ==18842==    by 0x4A7013B: type_node_any_new_W (gtype.c:439)
    ==18842==    by 0x4A70609: type_node_fundamental_new_W (gtype.c:550)
    ==18842==    by 0x4A7855A: gobject_init (gtype.c:4406)
    ==18842==    by 0x4A78672: gobject_init_ctor (gtype.c:4493)

 glib.supp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib.supp b/glib.supp
index 0debd0bba..3f7b53eb1 100644
--- a/glib.supp
+++ b/glib.supp
@@ -109,7 +109,7 @@
 {
        gobject-init-calloc
        Memcheck:Leak
-       match-leak-kinds:reachable
+       match-leak-kinds:possible,reachable
        fun:calloc
        ...
        fun:gobject_init_ctor


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