diff options
Diffstat (limited to 'src/main/cmds.c')
| -rw-r--r-- | src/main/cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/cmds.c b/src/main/cmds.c index b7f7011..c7dc894 100644 --- a/src/main/cmds.c +++ b/src/main/cmds.c @@ -300,6 +300,7 @@ int32_t buflist_visit_cmd(struct command_ctx ctx, int argc, bufname[len] = '\0'; struct buffer *target = buffers_find(ctx.buffers, bufname); + free(bufname); if (target != NULL) { struct window *tgt_window = window_find_by_buffer(target); if (tgt_window != NULL) { |
