summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--dl-init.supp9
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6794c69..f9d421c 100644
--- a/Makefile
+++ b/Makefile
@@ -152,6 +152,8 @@ newref:
#----- Memory leak checking ---------------------------------------------------
+SUPP = dl-init
+
leak: $(NAME)
- valgrind --leak-check=full \
+ valgrind --leak-check=full $(SUPP:%=--suppressions=%.supp) \
eeshow -N 1 $(NEO900_HW)/neo900.pro -- png >/dev/null
diff --git a/dl-init.supp b/dl-init.supp
new file mode 100644
index 0000000..73cbf8e
--- /dev/null
+++ b/dl-init.supp
@@ -0,0 +1,9 @@
+{
+ <call_init_part_0>
+ Memcheck:Leak
+ ...
+ fun:call_init.part.0
+ fun:call_init
+ fun:_dl_init
+ ...
+}