[gjs: 3/5] valgrind: Suppress GTK memory leaks
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 3/5] valgrind: Suppress GTK memory leaks
- Date: Sat, 31 Mar 2018 00:34:44 +0000 (UTC)
commit 78862d7d700041015a812da2245f30f562e9456f
Author: Philip Chimento <philip chimento gmail com>
Date: Tue Mar 27 22:21:41 2018 -0700
valgrind: Suppress GTK memory leaks
I confirmed that these happen in a regular C program that creates and
destroys a GtkWindow, so they are not due to GJS.
installed-tests/extra/gjs.supp | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/installed-tests/extra/gjs.supp b/installed-tests/extra/gjs.supp
index 3dfb2d7a..4d399f09 100644
--- a/installed-tests/extra/gjs.supp
+++ b/installed-tests/extra/gjs.supp
@@ -109,8 +109,21 @@
fun:malloc
fun:g_malloc
...
- fun:gtk_style_new
- fun:gtk_widget_get_default_style
+ fun:gtk_css_node_declaration_make_writable
+ ...
+ fun:gtk_style_constructed
+}
+
+{
+ gtk-style-context2
+ Memcheck:Leak
+ match-leak-kinds: possible
+ fun:malloc
+ fun:g_malloc
+ ...
+ fun:gtk_css_node_declaration_make_writable_resize
+ ...
+ fun:gtk_style_constructed
}
# https://bugs.freedesktop.org/show_bug.cgi?id=105466
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]