[Python-checkins] r46513 - python/trunk/Modules/_struct.c
georg.brandl
python-checkins at python.org
Sun May 28 23:42:54 CEST 2006
Author: georg.brandl
Date: Sun May 28 23:42:54 2006
New Revision: 46513
Modified:
python/trunk/Modules/_struct.c
Log:
Fix ref-antileak in _struct.c which eventually lead to deallocating None.
Modified: python/trunk/Modules/_struct.c
==============================================================================
--- python/trunk/Modules/_struct.c (original)
+++ python/trunk/Modules/_struct.c Sun May 28 23:42:54 2006
@@ -1513,7 +1513,7 @@
return NULL;
}
- return Py_None;
+ Py_RETURN_NONE;
}
static PyObject *
More information about the Python-checkins
mailing list