diff --git a/src/rebase.c b/src/rebase.c index 8078eedc3..cf3558d16 100644 --- a/src/rebase.c +++ b/src/rebase.c @@ -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;