aboutsummaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-26 17:31:13 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-26 18:29:17 -0300
commitf8432ef127c0d84bc89ef604dfd6b619acd89c3b (patch)
tree9452aa3b53d877517585166c2cebaaef8606c41e /src/misc1.c
parent580ababcb5b822aaf938defa38a0ffd5511f0d65 (diff)
downloadrneovim-f8432ef127c0d84bc89ef604dfd6b619acd89c3b.tar.gz
rneovim-f8432ef127c0d84bc89ef604dfd6b619acd89c3b.tar.bz2
rneovim-f8432ef127c0d84bc89ef604dfd6b619acd89c3b.zip
Use realloc instead of vim_realloc
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 2ca4c80a40..7438d57b0a 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2417,7 +2417,7 @@ int get_keystroke(void)
/* Need some more space. This might happen when receiving a long
* escape sequence. */
buflen += 100;
- buf = vim_realloc(buf, buflen);
+ buf = realloc(buf, buflen);
maxlen = (buflen - 6 - len) / 3;
}
if (buf == NULL) {