Mercurial > vim
comparison src/popupwin.c @ 21341:e562f5d1e2a4 v8.2.1221
patch 8.2.1221: memory leak when updating popup window
Commit: https://github.com/vim/vim/commit/02f9e6a60f9851046154ccf2ac170f25a0b3cc7d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 15 18:27:08 2020 +0200
patch 8.2.1221: memory leak when updating popup window
Problem: Memory leak when updating popup window.
Solution: Clear search highlighting.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 Jul 2020 18:30:03 +0200 |
parents | c6fc976a8741 |
children | 3d73cdd173ab |
comparison
equal
deleted
inserted
replaced
21340:6a32859392be | 21341:e562f5d1e2a4 |
---|---|
3853 update_popup_transparent(wp, 0); | 3853 update_popup_transparent(wp, 0); |
3854 | 3854 |
3855 // Back to the normal zindex. | 3855 // Back to the normal zindex. |
3856 screen_zindex = 0; | 3856 screen_zindex = 0; |
3857 } | 3857 } |
3858 | |
3859 #if defined(FEAT_SEARCH_EXTRA) | |
3860 // In case win_update() called start_search_hl(). | |
3861 end_search_hl(); | |
3862 #endif | |
3858 } | 3863 } |
3859 | 3864 |
3860 /* | 3865 /* |
3861 * Mark references in callbacks of one popup window. | 3866 * Mark references in callbacks of one popup window. |
3862 */ | 3867 */ |