commit | c26025c562c85cac07470b832215f5f1e474aa56 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun May 28 21:42:54 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Sun May 28 21:42:54 2006 +0000 |
tree | e8ec24c237cafe3efad318940d16d3efec32634f | |
parent | c1282eef0c683e69950ccc9bc988f12437de22cb [diff] |
Fix ref-antileak in _struct.c which eventually lead to deallocating None.
diff --git a/Modules/_struct.c b/Modules/_struct.c index cb2e538..add5e8c 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c
@@ -1513,7 +1513,7 @@ return NULL; } - return Py_None; + Py_RETURN_NONE; } static PyObject *