Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
wt-status: release strbuf after use in read_rebase_todolist()
[gitweb.git]
/
wt-status.c
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;
}