Patch 8.2.1093
Problem: Python: double free when adding item to dict fails.
Solution: Remove vim_free() call.
Files: src/if_py_both.h
*** ../vim-8.2.1092/src/if_py_both.h 2020-05-30 20:30:42.896816552 +0200
--- src/if_py_both.h 2020-06-29 23:06:37.542877113 +0200
***************
*** 1913,1919 ****
if (dict_add(dict, di) == FAIL)
{
- vim_free(di);
dictitem_free(di);
RAISE_KEY_ADD_FAIL(key);
Py_XDECREF(todecref);
--- 1913,1918 ----
*** ../vim-8.2.1092/src/version.c 2020-06-29 23:02:15.867887636 +0200
--- src/version.c 2020-06-29 23:07:24.466690769 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1093,
/**/
--
People who want to share their religious views with you
almost never want you to share yours with them.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///