Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote: release strbuf after use in read_remote_branches()
[gitweb.git]
/
builtin
/
help.c
diff --git
a/builtin/help.c
b/builtin/help.c
index 12fb48933e7529207c953890902236b3217dfac9..b3f60a8f30b39e9731fcde08600c900b2f772acb 100644
(file)
--- a/
builtin/help.c
+++ b/
builtin/help.c
@@
-131,6
+131,7
@@
static void exec_woman_emacs(const char *path, const char *page)
strbuf_addf(&man_page, "(woman \"%s\")", page);
execlp(path, "emacsclient", "-e", man_page.buf, (char *)NULL);
warning_errno(_("failed to exec '%s'"), path);
+ strbuf_release(&man_page);
}
}