mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-23 14:49:27 +00:00
rebase: check alloc result
This commit is contained in:
parent
366e53d3da
commit
3cbaa5872c
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user