mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 05:54:47 +02:00
Sync OpenBSD patchset 1150:
xfree is not particularly helpful, remove it. From Thomas Adam.
This commit is contained in:
@ -163,7 +163,7 @@ input_key(struct window_pane *wp, int key)
|
||||
if (options_get_number(&wp->window->options, "xterm-keys")) {
|
||||
if ((out = xterm_keys_lookup(key)) != NULL) {
|
||||
bufferevent_write(wp->event, out, strlen(out));
|
||||
xfree(out);
|
||||
free(out);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user