mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 07:52:30 +00:00
Merge pull request #2928 from ethomson/rebase_alloc_check
rebase: check alloc result
This commit is contained in:
commit
18fcb5c813
@ -576,6 +576,7 @@ static int rebase_init_operations(
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
operation = rebase_operation_alloc(rebase, GIT_REBASE_OPERATION_PICK, &id, NULL);
|
operation = rebase_operation_alloc(rebase, GIT_REBASE_OPERATION_PICK, &id, NULL);
|
||||||
|
GITERR_CHECK_ALLOC(operation);
|
||||||
}
|
}
|
||||||
|
|
||||||
error = 0;
|
error = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user