Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
transport-helper: release strbuf after use in process_connect_service()
[gitweb.git]
/
builtin
/
am.c
diff --git
a/builtin/am.c
b/builtin/am.c
index 3d38b3fe9fdc15bcab773565fcc0b5e5dfb0ebaf..d7513f53759bc5834aa02bd904432f64e036ccb6 100644
(file)
--- a/
builtin/am.c
+++ b/
builtin/am.c
@@
-2105,6
+2105,7
@@
static int safe_to_abort(const struct am_state *state)
die(_("could not parse %s"), am_path(state, "abort-safety"));
} else
oidclr(&abort_safety);
+ strbuf_release(&sb);
if (get_oid("HEAD", &head))
oidclr(&head);