diff options
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index 67aa1fc11..6596cf81e 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -4941,8 +4941,7 @@ _WndProc( char_u *str = NULL; static void *tt_text = NULL; - vim_free(tt_text); - tt_text = NULL; + VIM_CLEAR(tt_text); # ifdef FEAT_GUI_TABLINE if (gui_mch_showing_tabline() |