diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-29 22:52:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-29 22:52:32 +0200 |
commit | 1bcabe19a2be1a3fe324422e8c28db9e27715cb9 (patch) | |
tree | c56d01802c83096fcd1079eee5aef9b8dd6d7d72 | |
parent | a03e631120829db8be926bdd14095b4b4aef248a (diff) | |
download | vim-git-1bcabe19a2be1a3fe324422e8c28db9e27715cb9.tar.gz |
updated for version 7.3.1052v7.3.1052
Problem: Python: possible SEGV and negative refcount.
Solution: Python patch 13: Fix IterIter function. (ZyX)
-rw-r--r-- | src/if_py_both.h | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
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 @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1052, +/**/ 1051, /**/ 1050, |