git.samba.org
/
jlayton
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45b9c37
)
ctdb-tools: Fix CID 1364705 - resource leak
author
Amitay Isaacs
<amitay@gmail.com>
Thu, 4 Aug 2016 05:56:23 +0000
(15:56 +1000)
committer
Martin Schwenke
<martins@samba.org>
Mon, 8 Aug 2016 06:17:33 +0000
(08:17 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12121
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tools/ctdb.c
patch
|
blob
|
history
diff --git
a/ctdb/tools/ctdb.c
b/ctdb/tools/ctdb.c
index dd791148606db41c11edf0253e1d0e3c422520ec..cbcdea19ff995d95b76acd12d3dc942bb2e78c0c 100644
(file)
--- a/
ctdb/tools/ctdb.c
+++ b/
ctdb/tools/ctdb.c
@@
-3023,6
+3023,8
@@
static int control_tickle(TALLOC_CTX *mem_ctx, struct ctdb_context *ctdb,
}
}
+ TALLOC_FREE(clist);
+
if (num_failed > 0) {
fprintf(stderr, "Failed to send %d tickles\n",
num_failed);