diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-02-27 04:39:54 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-02-27 04:39:54 +0000 |
commit | 3cbaa5872cd6e0997fae63767e0732743435e473 (patch) | |
tree | fc72e05b163da3245258e8fc47dac6c901cb8e3a | |
parent | 366e53d3da72805a3db1a1e77d4666416fcb5a93 (diff) | |
download | libgit2-3cbaa5872cd6e0997fae63767e0732743435e473.tar.gz |
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; |