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; }