Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
connect: split git:// setup into a separate function
[gitweb.git]
/
wt-status.c
diff --git
a/wt-status.c
b/wt-status.c
index 23e87e74dc5820f0fe1536e05a369d778961af83..6f730ee8f22b958c7502656d2e1d01ea1f932396 100644
(file)
--- a/
wt-status.c
+++ b/
wt-status.c
@@
-1026,6
+1026,7
@@
static void wt_longstatus_print_tracking(struct wt_status *s)
comment_line_char);
else
fputs("\n", s->fp);
+ strbuf_release(&sb);
}
static int has_unmerged(struct wt_status *s)
@@
-1193,6
+1194,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;
}