mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +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>
This commit is contained in:
parent
6a2941e2a9
commit
30bc6e2529
@ -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…
Reference in New Issue
Block a user