mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
ctdb-common: Fix memory leak
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)
This commit is contained in:
parent
76c7302105
commit
5419978537
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user