Mercurial > vim
view src/proto/beval.pro @ 20322:a3e78893a90b v8.2.0716
patch 8.2.0716: Vim9: another memory leak
Commit: https://github.com/vim/vim/commit/5c2fe644430efabf9dadfb89a9f1e82367eaf28d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 7 23:20:21 2020 +0200
patch 8.2.0716: Vim9: another memory leak
Problem: Vim9: another memory leak.
Solution: Clear typval when failing.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 May 2020 23:30:04 +0200 |
parents | 8813e1626e0a |
children |
line wrap: on
line source
/* beval.c */ int find_word_under_cursor(int mouserow, int mousecol, int getword, int flags, win_T **winp, linenr_T *lnump, char_u **textp, int *colp, int *startcolp); int get_beval_info(BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp); void post_balloon(BalloonEval *beval, char_u *mesg, list_T *list); int can_use_beval(void); void general_beval_cb(BalloonEval *beval, int state); /* vim: set ft=c : */