Skip to content

Commit

Permalink
Improve valgrind rule for PR_strdup
Browse files Browse the repository at this point in the history
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 <cheimes@redhat.com>
  • Loading branch information
Christian Heimes authored and Petr Viktorin committed Jan 10, 2018
1 parent e62963c commit abcd2e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Misc/python-ldap.supp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
match-leak-kinds: definite
fun:malloc
fun:PL_strdup
fun:tlsm_init
...
fun:ldap_set_option
...
}

Expand Down

0 comments on commit abcd2e9

Please sign in to comment.