mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 16:27:03 +00:00
xfree is not particularly helpful, remove it. From Thomas Adam.
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <event.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "tmux.h"
|
||||
@ -211,7 +212,7 @@ server_window_check_content(
|
||||
return (0);
|
||||
if ((found = window_pane_search(wp, ptr, NULL)) == NULL)
|
||||
return (0);
|
||||
xfree(found);
|
||||
free(found);
|
||||
|
||||
if (options_get_number(&s->options, "bell-on-alert"))
|
||||
ring_bell(s);
|
||||
|
Reference in New Issue
Block a user