Mercurial > vim
view pixmaps/tb_new_session.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 |
line wrap: on
line source
/* XPM */ static char * tb_new_session_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 8 1 0 0", /* colors */ " s none m none c none", ". s bottomShadowColor m black c #5D6069", "X s iconColor2 m none c #FFFFFF", "o s iconColor1 m black c #000000", "O s iconGray2 m none c #bdbdbd", "+ s iconGray5 m black c #737373", "@ s iconGray4 m none c #949494", "# s iconColor3 m black c #FF0000", /* pixels */ " . .X. . ", " . oXo . ", " ..oXXXo.. ", " XXXXXXXXX ", " ..oXXXo.. ", " . oXo . ", " . .X. . ", " . ", " ooooooooooooo ", " oXXXXXXXXXXOO+o ", " oXXXXXXXXXXXX@+o ", " oXOOOOOOOOO##@+o ", " oXOOOOOOOOOOO@+o ", " oXooooooooooO@+o.", " oXXXXXXXXXXXO@+o.", " oO@@@@@@@@@@@+o. ", " ooooooooooooo. ", " ........... "};