mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 8.1.0652: freeing memory for balloon eval too early
Problem: Freeing memory for balloon eval too early. Solution: Store the pointer in BalloonEval and free it later. (Yasuhiro Matsumoto, closes #3725)
This commit is contained in:
@@ -76,6 +76,9 @@ typedef struct BalloonEvalStruct
|
||||
int *vts; // vartabstop setting for this buffer
|
||||
#endif
|
||||
char_u *msg;
|
||||
#ifdef FEAT_GUI_W32
|
||||
void *tofree;
|
||||
#endif
|
||||
} BalloonEval;
|
||||
|
||||
#define EVAL_OFFSET_X 15 /* displacement of beval topleft corner from pointer */
|
||||
|
Reference in New Issue
Block a user