# HG changeset patch # User Bram Moolenaar # Date 1369860752 -7200 # Node ID 12421d8a45d5597828b8343c31faa79f77d9c512 # Parent a1d3d9db4340ee24be72efb134f0df9a1799f3ca updated for version 7.3.1052 Problem: Python: possible SEGV and negative refcount. Solution: Python patch 13: Fix IterIter function. (ZyX) diff --git a/src/if_py_both.h b/src/if_py_both.h --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -814,6 +814,7 @@ IterNext(IterObject *self) static PyObject * IterIter(PyObject *self) { + Py_INCREF(self); return self; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1052, +/**/ 1051, /**/ 1050,