mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
Fix memory leak in screen_redraw_make_pane_status.
This commit is contained in:
parent
7ba5ad4cfb
commit
c363c236aa
@ -18,6 +18,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "tmux.h"
|
||||
@ -299,6 +300,7 @@ screen_redraw_make_pane_status(struct client *c, struct window *w,
|
||||
screen_write_cnputs(&ctx, outlen, &gc, "%s", out);
|
||||
screen_write_stop(&ctx);
|
||||
|
||||
free(out);
|
||||
format_free(ft);
|
||||
|
||||
wp->status_size = outlen;
|
||||
|
Loading…
Reference in New Issue
Block a user