1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ctdb-eventd: Fix CID 1438155

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13554

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Aug  3 11:14:01 CEST 2018 on sn-devel-144
This commit is contained in:
Amitay Isaacs 2018-07-31 17:44:25 +10:00 committed by Amitay Isaacs
parent 33d012c3ce
commit f7b2e5eec5

View File

@ -320,7 +320,7 @@ static int event_command_script_list(TALLOC_CTX *mem_ctx,
subdir = talloc_asprintf(mem_ctx, "events/%s", argv[0]);
if (subdir == NULL) {
ret = ENOMEM;
return ENOMEM;
}
data_dir = path_datadir_append(mem_ctx, subdir);