Mercurial > vim
view pixmaps/tb_blank.xpm @ 23865:e1643a1aa1a0 v8.2.2474
patch 8.2.2474: using freed memory when window is closed by autocommand
Commit: https://github.com/vim/vim/commit/2c7080bf1ceef4a7779644fd428b2386a0676794
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 6 19:19:42 2021 +0100
patch 8.2.2474: using freed memory when window is closed by autocommand
Problem: Using freed memory when window is closed by autocommand.
(houyunsong)
Solution: Check the window pointer is still valid.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Feb 2021 19:30:04 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_blank_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 4 1 0 0", /* colors */ " s iconColor1 m black c #000000", ". s none m none c none", "X s topShadowColor m none c #DCDEE5", "o s bottomShadowColor m black c #5D6069", /* pixels */ " .", " XXXXXXXXXXXXXXX .", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " o", "..oooooooooooooooo"};