diff options
author | Sander Bosma <sanderbosma@gmail.com> | 2017-03-01 10:43:47 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-23 23:44:29 +0200 |
commit | 5c9860a0a2bf27d409c986673f0a74542561c4c3 (patch) | |
tree | 72f53fdf36e2b627df51a4ee810987ff1a0dd477 /src/nvim/tui/input.c | |
parent | 45240538742d6276ab25abe0d8b02550e1c68179 (diff) | |
download | rneovim-5c9860a0a2bf27d409c986673f0a74542561c4c3.tar.gz rneovim-5c9860a0a2bf27d409c986673f0a74542561c4c3.tar.bz2 rneovim-5c9860a0a2bf27d409c986673f0a74542561c4c3.zip |
api: Do not truncate errors <1 MB. #6237
Closes #5984
Diffstat (limited to 'src/nvim/tui/input.c')
-rw-r--r-- | src/nvim/tui/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index 3f2ccd4746..921f67fb7d 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -228,7 +228,7 @@ static int get_key_code_timeout(void) if (nvim_get_option(cstr_as_string("ttimeout"), &err).data.boolean) { ms = nvim_get_option(cstr_as_string("ttimeoutlen"), &err).data.integer; } - + xfree(err.msg); return (int)ms; } |