diff options
| -rw-r--r-- | ref-filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ref-filter.c b/ref-filter.c index f0bd32f714..bc4d2e7dac 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -1571,6 +1571,8 @@ char *get_head_description(void) } else strbuf_addstr(&desc, _("(no branch)")); + wt_status_state_free_buffers(&state); + return strbuf_detach(&desc, NULL); } |
