summaryrefslogtreecommitdiffstats
path: root/server/tests/common.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-02-05 13:02:32 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-10 08:46:48 -0500
commit157589bb91cc53ebc26fcc989e49523864780083 (patch)
tree4f7510d84c8cfd6e5f400998451fbcfe737544e9 /server/tests/common.c
parent3a4aa5e5006decc100a2d8f2db54c46b482afd7c (diff)
downloadsssd-157589bb91cc53ebc26fcc989e49523864780083.tar.gz
sssd-157589bb91cc53ebc26fcc989e49523864780083.tar.xz
sssd-157589bb91cc53ebc26fcc989e49523864780083.zip
Fix handling of the global context in the leak detector
Diffstat (limited to 'server/tests/common.c')
-rw-r--r--server/tests/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/common.c b/server/tests/common.c
index dad9dc66b..50dc61b16 100644
--- a/server/tests/common.c
+++ b/server/tests/common.c
@@ -29,6 +29,8 @@
#include "util/dlinklist.h"
#include "util/util.h"
+TALLOC_CTX *global_talloc_context = NULL;
+
struct size_snapshot {
struct size_snapshot *prev;
struct size_snapshot *next;