summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 17:11:04 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-30 17:11:04 -0300
commit1ed088fc5625c7ce1124e8557bd843105f4a458d (patch)
tree8b25f027a8a5e628ed0d1b3e6228a66ea4683330
parent26b46d9b06eb791dafbd9240c613f81e3995fa18 (diff)
downloadeeshow-1ed088fc5625c7ce1124e8557bd843105f4a458d.tar.gz
eeshow-1ed088fc5625c7ce1124e8557bd843105f4a458d.tar.bz2
eeshow-1ed088fc5625c7ce1124e8557bd843105f4a458d.zip
Makefile (leak): report all leaks; suppress more Cairo leaks
Despite cairo_debug_reset_static_data, Cairo seems to leak badly.
-rw-r--r--Makefile3
-rw-r--r--cairo-font.supp16
2 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fde6bff..406263a 100644
--- a/Makefile
+++ b/Makefile
@@ -155,6 +155,7 @@ newref:
SUPP = dl-init cairo-font
leak: $(NAME)
- valgrind --leak-check=full --num-callers=50 \
+ valgrind --leak-check=full --show-leak-kinds=all \
+ --num-callers=50 \
$(SUPP:%=--suppressions=%.supp) \
eeshow -N 1 $(NEO900_HW)/neo900.pro -- png >/dev/null
diff --git a/cairo-font.supp b/cairo-font.supp
index 41e2f0f..ecadf21 100644
--- a/cairo-font.supp
+++ b/cairo-font.supp
@@ -9,3 +9,19 @@
fun:cairo_text_extents
...
}
+
+{
+ <cairo_show_text>
+ Memcheck:Leak
+ ...
+ fun:cairo_show_text
+ ...
+}
+
+{
+ <cairo_text_extents>
+ Memcheck:Leak
+ ...
+ fun:cairo_text_extents
+ ...
+}