mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-daemon: Improve error handling consistency
Other errors free argv, so do it here too. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13592 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
11ee92d1bf
commit
e357b62fe5
@ -170,6 +170,7 @@ int ctdb_start_eventd(struct ctdb_context *ctdb)
|
||||
if (pid == -1) {
|
||||
close(fd[0]);
|
||||
close(fd[1]);
|
||||
talloc_free(argv);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user