Commit 3cbaa587 by Edward Thomson

rebase: check alloc result

parent 366e53d3
......@@ -576,6 +576,7 @@ static int rebase_init_operations(
continue;
operation = rebase_operation_alloc(rebase, GIT_REBASE_OPERATION_PICK, &id, NULL);
GITERR_CHECK_ALLOC(operation);
}
error = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment