[pacman-dev] [PATCH 2/2] valgrind.supp: add known leaks from GPGME

Dan McGee dan at archlinux.org
Tue Jun 14 11:36:04 EDT 2011


̶F̶u̶c̶k Thank you too, GPGME, for these. Why don't you provide a way to
clean up your static variable mess?

Signed-off-by: Dan McGee <dan at archlinux.org>
---
 valgrind.supp |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/valgrind.supp b/valgrind.supp
index 1d6952d..58fdf1c 100644
--- a/valgrind.supp
+++ b/valgrind.supp
@@ -56,3 +56,25 @@
    fun:SSL_COMP_get_compression_methods
    fun:SSL_library_init
 }
+{
+   gpgme-static-get-engine-info
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:gpgme_get_engine_info
+}
+{
+   gpgme-static-set-engine-info
+   Memcheck:Leak
+   fun:malloc
+   ...
+   fun:_gpgme_set_engine_info
+   fun:gpgme_set_engine_info
+}
+{
+   gpgme-static-set-locale
+   Memcheck:Leak
+   fun:malloc
+   fun:strdup
+   fun:gpgme_set_locale
+}
-- 
1.7.5.4



More information about the pacman-dev mailing list