From abcd2e9937336b82f08dc52557f2319a998cdca1 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 10 Jan 2018 12:31:37 +0100 Subject: [PATCH] Improve valgrind rule for PR_strdup libldap's NSS engine has one known memory leak. One block of memory is leaked one time only. The existing rule only matches when all debug symbols are installed. The new rule should work without debug symbols. https://github.com/python-ldap/python-ldap/pull/157 Closes: https://github.com/python-ldap/python-ldap/issues/156 Signed-off-by: Christian Heimes --- Misc/python-ldap.supp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Misc/python-ldap.supp b/Misc/python-ldap.supp index 3267fd0..b9954a9 100644 --- a/Misc/python-ldap.supp +++ b/Misc/python-ldap.supp @@ -33,7 +33,8 @@ match-leak-kinds: definite fun:malloc fun:PL_strdup - fun:tlsm_init + ... + fun:ldap_set_option ... }