aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-11-19 14:02:41 +0000
committerThomas Adam <thomas@xteddy.org>2018-11-19 14:02:41 +0000
commitefd01f3bfd84d4a692cfbf746517f891d4ecaa27 (patch)
treeb2ed5d4a20750075b483711c63493dffc81d6348 /input.c
parenta7da2357a512d5a325aa12ca0d544df85530a4d3 (diff)
parent749f67b7d801eed03345fef9c04206fbd079c3cb (diff)
downloadrtmux-efd01f3bfd84d4a692cfbf746517f891d4ecaa27.tar.gz
rtmux-efd01f3bfd84d4a692cfbf746517f891d4ecaa27.tar.bz2
rtmux-efd01f3bfd84d4a692cfbf746517f891d4ecaa27.zip
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input.c b/input.c
index 41cdfb70..d9f419fe 100644
--- a/input.c
+++ b/input.c
@@ -767,6 +767,8 @@ input_init(struct window_pane *wp)
ictx->input_buf = xmalloc(INPUT_BUF_START);
ictx->since_ground = evbuffer_new();
+ if (ictx->since_ground == NULL)
+ fatalx("out of memory");
evtimer_set(&ictx->timer, input_timer_callback, ictx);