git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
9f00492
)
wt-status: release strbuf after use in read_rebase_todolist()
author
Rene Scharfe
<redacted>
Wed, 30 Aug 2017 18:20:17 +0000
(20:20 +0200)
committer
Junio C Hamano
<redacted>
Wed, 6 Sep 2017 23:49:29 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
wt-status.c
patch
|
blob
|
history
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;
}
git clone https://git.99rst.org/PROJECT