mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0121: crash when using ballooneval related to 'vartabstop'
Problem: Crash when using ballooneval related to 'vartabstop'. Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
This commit is contained in:
@@ -745,7 +745,12 @@ gui_init(void)
|
||||
/* Always create the Balloon Evaluation area, but disable it when
|
||||
* 'ballooneval' is off. */
|
||||
if (balloonEval != NULL)
|
||||
{
|
||||
# ifdef FEAT_VARTABS
|
||||
vim_free(balloonEval->vts);
|
||||
# endif
|
||||
vim_free(balloonEval);
|
||||
}
|
||||
balloonEvalForTerm = FALSE;
|
||||
# ifdef FEAT_GUI_GTK
|
||||
balloonEval = gui_mch_create_beval_area(gui.drawarea, NULL,
|
||||
|
Reference in New Issue
Block a user