Mercurial > vim
annotate pixmaps/tb_minwidth.xpm @ 23473:ad83c0ff34c0 v8.2.2279
patch 8.2.2279: Vim9: memory leak with catch in skipped block
Commit: https://github.com/vim/vim/commit/508b5618ec0bc6d1edff71e04d99280a2a51df9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 2 18:17:26 2021 +0100
patch 8.2.2279: Vim9: memory leak with catch in skipped block
Problem: Vim9: memory leak with catch in skipped block.
Solution: Free the pattern if not used.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Jan 2021 18:30:03 +0100 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_minwidth_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 5 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s topShadowColor m none c #DCDEE5", | |
8 "X s iconColor1 m black c #000000", | |
9 "o s iconColor2 m none c #FFFFFF", | |
10 "O s bottomShadowColor m black c #5D6069", | |
11 /* pixels */ | |
12 " ", | |
13 " ", | |
14 " .XXXXXX ", | |
15 " .X...oX ", | |
16 " .X...oX ", | |
17 " .X...oX ", | |
18 " X .X.o.oXO X ", | |
19 " XX .X...oXO XX ", | |
20 " XXX .X...oXO XXX ", | |
21 " XX .X...oXO XX ", | |
22 " X .X...oXO X ", | |
23 " .X...oXO ", | |
24 " .X..ooXO ", | |
25 " .XooooXO ", | |
26 " .XXXXXXO ", | |
27 " OOOOO ", | |
28 " ", | |
29 " "}; |