summaryrefslogtreecommitdiff
path: root/ctdb/event/event_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/event/event_protocol.c')
-rw-r--r--ctdb/event/event_protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/event/event_protocol.c b/ctdb/event/event_protocol.c
index 21adb430c20..baa9e1ecb82 100644
--- a/ctdb/event/event_protocol.c
+++ b/ctdb/event/event_protocol.c
@@ -317,6 +317,7 @@ static int ctdb_event_script_list_pull(uint8_t *buf,
value->script = talloc_array(value, struct ctdb_event_script,
num_scripts);
if (value->script == NULL) {
+ ret = ENOMEM;
goto fail;
}