diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-28 12:05:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-28 12:05:11 +0200 |
commit | ca4b613c692b927c9345dc9e3d6be5de35266be2 (patch) | |
tree | fda5e9dfd74a771d6231b7dc5d35c9ade0b9b7bc /src/ex_cmds2.c | |
parent | dc9e955fb07f410d5d3e981ce18d895dd2847c85 (diff) | |
download | vim-git-ca4b613c692b927c9345dc9e3d6be5de35266be2.tar.gz |
patch 8.1.0121: crash when using ballooneval related to 'vartabstop'v8.1.0121
Problem: Crash when using ballooneval related to 'vartabstop'.
Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 01bc357f4..5f58fedfb 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -1419,7 +1419,7 @@ check_due_timer(void) bevalexpr_due_set = FALSE; if (balloonEval == NULL) { - balloonEval = (BalloonEval *)alloc(sizeof(BalloonEval)); + balloonEval = (BalloonEval *)alloc_clear(sizeof(BalloonEval)); balloonEvalForTerm = TRUE; } if (balloonEval != NULL) |