git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c7302
)
ctdb-common: Fix memory leak
author
Martin Schwenke
<martin@meltin.net>
Sat, 11 May 2019 07:33:57 +0000
(17:33 +1000)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 17 May 2019 07:18:32 +0000
(07:18 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13943
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit
30bc6e2529cdd444d4ec7902844c3a6fb0858090
)
ctdb/common/event_script.c
patch
|
blob
|
history
diff --git
a/ctdb/common/event_script.c
b/ctdb/common/event_script.c
index 8978d1452c0cb5fc11d5a3691dd69228eb47e619..8bdfdd0b5ca6a2ce79a21fcc1c284b9f38158e45 100644
(file)
--- a/
ctdb/common/event_script.c
+++ b/
ctdb/common/event_script.c
@@
-117,7
+117,8
@@
int event_script_get_list(TALLOC_CTX *mem_ctx,
}
*out = script_list;
- return 0;
+ ret = 0;
+ goto done;
nomem:
ret = ENOMEM;