diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-01 21:00:11 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-01 21:00:11 +0100 |
commit | 18fcb5c813b27e99f8c7425930c4d9951f9d9b96 (patch) | |
tree | 0739a170cecdd5d6ea570157415652c952884716 | |
parent | fb2f3a76aaf9d76b947ca7527797e0eb0b5d057f (diff) | |
parent | 3cbaa5872cd6e0997fae63767e0732743435e473 (diff) | |
download | libgit2-18fcb5c813b27e99f8c7425930c4d9951f9d9b96.tar.gz |
Merge pull request #2928 from ethomson/rebase_alloc_check
rebase: check alloc result
-rw-r--r-- | src/rebase.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |