[glib: 3/6] glib.supp: Ignore one-off allocations in error registration.
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 3/6] glib.supp: Ignore one-off allocations in error registration.
- Date: Wed, 6 Jan 2021 16:02:32 +0000 (UTC)
commit 3af6849881d9a5895b0cddcc4255d75bc206bcd8
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sat Jul 25 11:22:37 2020 +0200
glib.supp: Ignore one-off allocations in error registration.
glib.supp | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
---
diff --git a/glib.supp b/glib.supp
index 06c5f542f..792d5a51b 100644
--- a/glib.supp
+++ b/glib.supp
@@ -1038,3 +1038,26 @@
...
fun:g_set_prgname
}
+
+# Error domains hash
+{
+ g_error_init
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ fun:g_hash_table_new_full
+ fun:g_error_init
+}
+
+# Error domain static registration
+{
+ g_error_domain_register_static
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ fun:g_hash_table_insert
+ fun:error_domain_register
+ fun:g_error_domain_register_static
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]