-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add valgrind target to check for memory leaks
Signed-off-by: Christian Heimes <cheimes@redhat.com>
- Loading branch information
Christian Heimes
committed
Dec 5, 2017
1 parent
ed0f6ed
commit edbb378
Showing
5 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -150,5 +150,6 @@ userApplications | |
| userPassword | ||
| usr | ||
| uuids | ||
| Valgrind | ||
| whitespace | ||
| workflow | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # Valgrind suppression file for Python 3.6. | ||
|
|
||
| { | ||
| Ignore libldap memory leak, https://github.com/python-ldap/python-ldap/issues/82 | ||
| Memcheck:Leak | ||
| match-leak-kinds: definite | ||
| fun:malloc | ||
| fun:ber_memalloc_x | ||
| fun:ber_flatten | ||
| fun:ldap_cancel | ||
| fun:l_ldap_cancel | ||
| ... | ||
| } | ||
|
|
||
| { | ||
| Known leak in SASL interaction, https://github.com/python-ldap/python-ldap/issues/81 | ||
| Memcheck:Leak | ||
| match-leak-kinds: definite | ||
| fun:malloc | ||
| fun:strdup | ||
| fun:interaction | ||
| fun:py_ldap_sasl_interaction | ||
| fun:ldap_int_sasl_bind | ||
| fun:ldap_sasl_interactive_bind | ||
| fun:ldap_sasl_interactive_bind_s | ||
| fun:l_ldap_sasl_interactive_bind_s | ||
| ... | ||
| } | ||
|
|
||
| { | ||
| Ignore possible leaks in exception initialization | ||
| Memcheck:Leak | ||
| match-leak-kinds: possible | ||
| fun:malloc | ||
| fun:PyObject_Malloc | ||
| ... | ||
| fun:PyErr_NewException | ||
| fun:LDAPinit_constants | ||
| fun:init_ldap_module | ||
| ... | ||
| } |