diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-08-20 19:21:40 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-08-22 10:51:24 +0200 |
commit | bf65fbdd8c3fecd38a66363c3517e7a2679b8186 (patch) | |
tree | 00747d98bf9e13932fde1f1fa0090693c5b28962 /src/tools | |
parent | e210ed5da220acebb6751db4466fe352de08eaeb (diff) | |
download | sssd-bf65fbdd8c3fecd38a66363c3517e7a2679b8186.tar.gz sssd-bf65fbdd8c3fecd38a66363c3517e7a2679b8186.tar.xz sssd-bf65fbdd8c3fecd38a66363c3517e7a2679b8186.zip |
responder-get-domains-tests: fix checking of leaks
global_talloc_context should not be NULL in tests. It should be initialised
with function leak_check_setup otherwise memory leak will not be detected.
check_leaks_pop should not be directly called for global_talloc_context.
It is a purpose of function leak_check_teardown
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions