mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Fix memory leaks with paste_replace, based on changes from J Raynor.
This commit is contained in:
parent
69b7c496ac
commit
6daf06b1ad
3 changed files with 6 additions and 3 deletions
|
|
@ -169,6 +169,7 @@ cmd_load_buffer_callback(struct client *c, int closed, void *data)
|
|||
/* No context so can't use server_client_msg_error. */
|
||||
evbuffer_add_printf(c->stderr_data, "no buffer %d\n", *buffer);
|
||||
server_push_stderr(c);
|
||||
free(pdata);
|
||||
}
|
||||
|
||||
free(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue