Mercurial > vim
view pixmaps/tb_make.xpm @ 25515:d84f6784c27c v8.2.3294
patch 8.2.3294: Lua: memory leak when adding dict item fails
Commit: https://github.com/vim/vim/commit/1b6acf02b7e685ecb87ccba52c91835a7519073e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 5 16:47:08 2021 +0200
patch 8.2.3294: Lua: memory leak when adding dict item fails
Problem: Lua: memory leak when adding dict item fails.
Solution: Free the typval and the dict item.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 Aug 2021 17:00:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_make_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 4 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconColor2 m none c #FFFFFF", "o s bottomShadowColor m black c #5D6069", /* pixels */ " ", " .. ..... ", " .XX.XXXXX. ", " .XXXXXXXXX. ", " .Xo.XXXX..X. ", " .. ....o .. ", " ... . ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ooo ", " "};