summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-08-20 15:02:24 +1000
committerAmitay Isaacs <amitay@gmail.com>2012-10-02 17:37:53 +1000
commit1aaaf7e20e5691ae3cddcfc1e1abd34dbae02c3f (patch)
treee327677812d75cf98a8bdaeb0744c8febcb6d67f
parentcc5f37f293b4308d8cda37085ee50be516ec6648 (diff)
downloadsamba-1aaaf7e20e5691ae3cddcfc1e1abd34dbae02c3f.tar.gz
samba-1aaaf7e20e5691ae3cddcfc1e1abd34dbae02c3f.tar.xz
samba-1aaaf7e20e5691ae3cddcfc1e1abd34dbae02c3f.zip
tools/ctdb: Free the event context
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit dc2a8c638bd74b9f1dd75339cd2ae2f32ffa18a8)
-rw-r--r--ctdb/tools/ctdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index 6d5dc1b9fb..e75a92239f 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -6019,6 +6019,7 @@ int main(int argc, const char *argv[])
ctdb_disconnect(ctdb_connection);
talloc_free(ctdb);
+ talloc_free(ev);
(void)poptFreeContext(pc);
return ret;