Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
wt-status: release strbuf after use in read_rebase_todolist()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 18:20:17 +0000
(20:20 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 Sep 2017 23:49:29 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9f00492
)
diff --git
a/wt-status.c
b/wt-status.c
index 77c27c51134d2feff93befeee20f4523a37d524a..cafafb5ecdb95ee6076695ef4bca27f8e9836d8f 100644
(file)
--- a/
wt-status.c
+++ b/
wt-status.c
@@
-1193,6
+1193,7
@@
static int read_rebase_todolist(const char *fname, struct string_list *lines)
string_list_append(lines, line.buf);
}
fclose(f);
+ strbuf_release(&line);
return 0;
}