diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2014-03-26 12:43:41 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2014-03-26 12:43:41 -0500 |
commit | 9cb99e8b853bb3d9ddec3748494a0ac34550849b (patch) | |
tree | 3c7fe551e0e18599a152083761cbca71abd17cc1 | |
parent | 2b848e47c1491fe0b6e987400b1a466c0f18861a (diff) | |
download | libgit2-9cb99e8b853bb3d9ddec3748494a0ac34550849b.tar.gz |
Free temporary merge index
-rw-r--r-- | src/merge.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/merge.c b/src/merge.c index 42fbd79c9..24b7d37ce 100644 --- a/src/merge.c +++ b/src/merge.c @@ -2629,9 +2629,8 @@ int git_merge( on_error: merge_state_cleanup(repo); - git_index_free(index_new); - done: + git_index_free(index_new); git_index_free(index_repo); git_tree_free(ancestor_tree); |