From 8ae07a727abcc157f3ff5a5185903f737a1c3a72 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 22 Aug 2019 11:28:16 +0300 Subject: [PATCH] glib.supp: Add some fundamental type suppressions Signed-off-by: Philip Withnall --- glib.supp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/glib.supp b/glib.supp index d70ffb9be..220ec461a 100644 --- a/glib.supp +++ b/glib.supp @@ -151,6 +151,24 @@ fun:g_type_register_static } +{ + g-type-register-fundamental + Memcheck:Leak + match-leak-kinds:possible,reachable + fun:malloc + ... + fun:g_type_register_fundamental +} + +{ + g-type-register-fundamental-calloc + Memcheck:Leak + match-leak-kinds:possible,reachable + fun:calloc + ... + fun:g_type_register_fundamental +} + { g-type-add-interface-dynamic Memcheck:Leak