From 6e4a02b9bcaac2eaa73ce4cfcb8b2c88194fab28 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Fri, 30 Aug 2019 09:26:31 +0300 Subject: [PATCH] glib.supp: add suppression for g_type_class_ref() This suppression is not caught by glib.supp, so add it: ==21145== 32 bytes in 1 blocks are possibly lost in loss record 1,456 of 2,584 ==21145== at 0x4837B65: calloc (vg_replace_malloc.c:762) ==21145== by 0x495825E: g_malloc0 (gmem.c:129) ==21145== by 0x4A6B6EB: type_class_init_Wm (gtype.c:2134) ==21145== by 0x4A6D22A: g_type_class_ref (gtype.c:2950) ==21145== by 0x4A6D1DD: g_type_class_ref (gtype.c:2942) ==21145== by 0x4A5C9C6: g_param_spec_enum (gparamspecs.c:2085) --- glib.supp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/glib.supp b/glib.supp index 2c20b1238..00c8dedc9 100644 --- a/glib.supp +++ b/glib.supp @@ -322,6 +322,16 @@ fun:type_class_init_Wm } +{ + g-type-class-ref + Memcheck:Leak + fun:calloc + ... + fun:type_class_init_Wm + ... + fun:g_type_class_ref +} + { g-io-module-default-singleton-malloc Memcheck:Leak