My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c20df8
)
sha1-file: release strbuf after use
author
René Scharfe
<l.s.r@web.de>
Wed, 7 Aug 2019 11:15:25 +0000
(13:15 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 7 Aug 2019 19:28:57 +0000
(12:28 -0700)
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1-file.c
patch
|
blob
|
history
diff --git
a/sha1-file.c
b/sha1-file.c
index
84fd02f
..
487ea35
100644
(file)
--- a/
sha1-file.c
+++ b/
sha1-file.c
@@
-799,6
+799,7
@@
static void read_alternate_refs(const char *path,
fclose(fh);
finish_command(&cmd);
+ strbuf_release(&line);
}
struct alternate_refs_data {