summaryrefslogtreecommitdiffstats
path: root/src/popupmnu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r--src/popupmnu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c
index 09d9520a63..2839ea1997 100644
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -975,8 +975,7 @@ ui_remove_balloon(void)
pum_undisplay();
while (balloon_arraysize > 0)
vim_free(balloon_array[--balloon_arraysize].pum_text);
- vim_free(balloon_array);
- balloon_array = NULL;
+ VIM_CLEAR(balloon_array);
}
}