summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-06-20 07:42:43 -0700
committerJunio C Hamano <gitster@pobox.com>2014-07-14 11:54:40 -0700
commit33f9fc593247322ddea5515f548a06cf34d12c2f (patch)
tree78af5fff143a5c987539b4733ab05a2422fd0f74 /refs.c
parent026bd1d3e27a9e9b8f6b0098644c5753a2a1e355 (diff)
downloadgit-33f9fc593247322ddea5515f548a06cf34d12c2f.tar.gz
refs.c: ref_transaction_commit should not free the transaction
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index 6d841a0645..d9cac6db18 100644
--- a/refs.c
+++ b/refs.c
@@ -3509,7 +3509,6 @@ cleanup:
if (updates[i]->lock)
unlock_ref(updates[i]->lock);
free(delnames);
- ref_transaction_free(transaction);
return ret;
}