diff options
author | Thomas Adam <thomas@xteddy.org> | 2018-11-19 14:02:41 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2018-11-19 14:02:41 +0000 |
commit | efd01f3bfd84d4a692cfbf746517f891d4ecaa27 (patch) | |
tree | b2ed5d4a20750075b483711c63493dffc81d6348 /control-notify.c | |
parent | a7da2357a512d5a325aa12ca0d544df85530a4d3 (diff) | |
parent | 749f67b7d801eed03345fef9c04206fbd079c3cb (diff) | |
download | rtmux-efd01f3bfd84d4a692cfbf746517f891d4ecaa27.tar.gz rtmux-efd01f3bfd84d4a692cfbf746517f891d4ecaa27.tar.bz2 rtmux-efd01f3bfd84d4a692cfbf746517f891d4ecaa27.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'control-notify.c')
-rw-r--r-- | control-notify.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/control-notify.c b/control-notify.c index 49291483..7b28e8f0 100644 --- a/control-notify.c +++ b/control-notify.c @@ -47,6 +47,8 @@ control_notify_input(struct client *c, struct window_pane *wp, */ if (winlink_find_by_window(&c->session->windows, wp->window) != NULL) { message = evbuffer_new(); + if (message == NULL) + fatalx("out of memory"); evbuffer_add_printf(message, "%%output %%%u ", wp->id); for (i = 0; i < len; i++) { if (buf[i] < ' ' || buf[i] == '\\') |