From 1bcabe19a2be1a3fe324422e8c28db9e27715cb9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 29 May 2013 22:52:32 +0200 Subject: updated for version 7.3.1052 Problem: Python: possible SEGV and negative refcount. Solution: Python patch 13: Fix IterIter function. (ZyX) --- src/if_py_both.h | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/if_py_both.h b/src/if_py_both.h index 1cb8f9969..29d282076 100644 --- 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 index 70187394f..9209f60a1 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1052, /**/ 1051, /**/ -- cgit v1.2.1