Mercurial > vim
view src/proto/gui_beval.pro @ 27243:c072eed37deb v8.2.4150
patch 8.2.4150: Coverity warns for using pointer after free
Commit: https://github.com/vim/vim/commit/8aa0e6c60da5f7a4b04eaead40d183fd8e5640a4
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 20 11:27:58 2022 +0000
patch 8.2.4150: Coverity warns for using pointer after free
Problem: Coverity warns for using pointer after free.
Solution: Swap statements, even though using the pointer is no problem.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Jan 2022 12:30:07 +0100 |
parents | 1a450ce6980c |
children |
line wrap: on
line source
/* gui_beval.c */ BalloonEval *gui_mch_create_beval_area(void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData); void gui_mch_destroy_beval_area(BalloonEval *beval); void gui_mch_enable_beval_area(BalloonEval *beval); void gui_mch_disable_beval_area(BalloonEval *beval); BalloonEval *gui_mch_currently_showing_beval(void); void gui_mch_post_balloon(BalloonEval *beval, char_u *mesg); void gui_mch_unpost_balloon(BalloonEval *beval); /* vim: set ft=c : */