mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +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;
|
*out = script_list;
|
||||||
return 0;
|
ret = 0;
|
||||||
|
goto done;
|
||||||
|
|
||||||
nomem:
|
nomem:
|
||||||
ret = ENOMEM;
|
ret = ENOMEM;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user