Mercurial > vim
view src/proto/popupmenu.pro @ 31447:8cb31f7ac9e2 v9.0.1056
patch 9.0.1056: leaking memory when disassembling an object method
Commit: https://github.com/vim/vim/commit/eb53350c02f620305e931ffd2ac611cc2b1a0ce9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 14 15:06:11 2022 +0000
patch 9.0.1056: leaking memory when disassembling an object method
Problem: Leaking memory when disassembling an object method.
Solution: Free the typval of the class.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Dec 2022 16:15:04 +0100 |
parents | 7b07f361b1d4 |
children |
line wrap: on
line source
/* popupmenu.c */ void pum_display(pumitem_T *array, int size, int selected); void pum_call_update_screen(void); int pum_under_menu(int row, int col, int only_redrawing); void pum_redraw(void); void pum_position_info_popup(win_T *wp); void pum_undisplay(void); void pum_clear(void); int pum_visible(void); int pum_redraw_in_same_position(void); void pum_may_redraw(void); int pum_get_height(void); void pum_set_event_info(dict_T *dict); int split_message(char_u *mesg, pumitem_T **array); void ui_remove_balloon(void); void ui_post_balloon(char_u *mesg, list_T *list); void ui_may_remove_balloon(void); void pum_show_popupmenu(vimmenu_T *menu); void pum_make_popup(char_u *path_name, int use_mouse_pos); /* vim: set ft=c : */