aboutsummaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index a96755919d..5e80e129d7 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2418,7 +2418,7 @@ int get_keystroke(void)
/* Need some more space. This might happen when receiving a long
* escape sequence. */
buflen += 100;
- buf = realloc(buf, buflen);
+ buf = xrealloc(buf, buflen);
maxlen = (buflen - 6 - len) / 3;
}
if (buf == NULL) {