[glib: 1/3] glib.supp: Allow definite leaks of g_private_set_alloc0()



commit b97c57b502d014c55fb605e2914921c354a60782
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 12 15:05:58 2019 +0000

    glib.supp: Allow definite leaks of g_private_set_alloc0()
    
    If a transient worker thread calls it, the allocated memory is
    definitely leaked when the thread exits. That’s intentional.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib.supp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib.supp b/glib.supp
index 3f7b53eb1..c4d845f84 100644
--- a/glib.supp
+++ b/glib.supp
@@ -880,7 +880,7 @@
 {
        g_private_set_alloc0
        Memcheck:Leak
-       match-leak-kinds:reachable
+       match-leak-kinds:definite,reachable
        fun:malloc
        ...
        fun:g_private_set_alloc0
@@ -888,7 +888,7 @@
 {
        g_private_set_alloc0-calloc
        Memcheck:Leak
-       match-leak-kinds:reachable
+       match-leak-kinds:definite,reachable
        fun:calloc
        ...
        fun:g_private_set_alloc0


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