rebase: check alloc result

This commit is contained in:
Edward Thomson 2015-02-27 04:39:54 +00:00
parent 366e53d3da
commit 3cbaa5872c

View File

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