[glib: 4/5] glib.supp: Ignore one-time xdgmime allocations
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 4/5] glib.supp: Ignore one-time xdgmime allocations
- Date: Wed, 1 Jun 2022 17:23:03 +0000 (UTC)
commit ff7e204bc67b7d4f2cc6758eac8843c9944cfb51
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Jun 1 15:22:44 2022 +0100
glib.supp: Ignore one-time xdgmime allocations
xdgmime makes some one-off allocations when being set up. Ignore them in
the suppression file, since they’re not really a leak.
This should fix the contenttype test running under valgrind.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
tools/glib.supp | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/tools/glib.supp b/tools/glib.supp
index 79faa9fd94..b06efec0d5 100644
--- a/tools/glib.supp
+++ b/tools/glib.supp
@@ -1109,3 +1109,19 @@
fun:g_hash_table_insert
fun:quark_new
}
+
+{
+ xdg_mime_init_malloc
+ Memcheck:Leak
+ fun:malloc
+ ...
+ fun:xdg_mime_init
+}
+
+{
+ xdg_mime_init_calloc
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:xdg_mime_init
+}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]