Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
am: release strbuf after use in safe_to_abort()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 17:49:34 +0000
(19:49 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 Sep 2017 23:49:26 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b36474f
)
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);