[Python-checkins] r59635 - python/trunk/Objects/descrobject.c
neal.norwitz
python-checkins at python.org
Tue Jan 1 00:48:47 CET 2008
Author: neal.norwitz
Date: Tue Jan 1 00:48:47 2008
New Revision: 59635
Modified:
python/trunk/Objects/descrobject.c
Log:
Fix refleak
Modified: python/trunk/Objects/descrobject.c
==============================================================================
--- python/trunk/Objects/descrobject.c (original)
+++ python/trunk/Objects/descrobject.c Tue Jan 1 00:48:47 2008
@@ -1237,6 +1237,7 @@
}
new = PyObject_CallFunction(type, "OOOO", get, set, del, doc);
+ Py_DECREF(type);
if (new == NULL)
return NULL;
pnew = (propertyobject *)new;
More information about the Python-checkins
mailing list