]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.1052 v7.3.1052
authorBram Moolenaar <Bram@vim.org>
Wed, 29 May 2013 20:52:32 +0000 (22:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 29 May 2013 20:52:32 +0000 (22:52 +0200)
Problem:    Python: possible SEGV and negative refcount.
Solution:   Python patch 13: Fix IterIter function. (ZyX)

src/if_py_both.h
src/version.c

index 1cb8f9969ab040b9879eda9d1db41fa22b074c6a..29d28207651d62ca843f06c5b3011688cdac7bf1 100644 (file)
@@ -814,6 +814,7 @@ IterNext(IterObject *self)
     static PyObject *
 IterIter(PyObject *self)
 {
+    Py_INCREF(self);
     return self;
 }
 
index 70187394f3795965097bda0f3b2cb0579a629be1..9209f60a1839496522e160b75e7a57c5cc907598 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1052,
 /**/
     1051,
 /**/