Author: georg.brandl
Date: Wed Oct 24 23:14:07 2007
New Revision: 58649
Modified:
python/branches/py3k/Objects/codeobject.c
Log:
Fix a refleak for `filename', introduced in rev. 58466.
Also remove an unnecessary incref/decref for `name'.
Modified: python/branches/py3k/Objects/codeobject.c
==============================================================================
--- python/branches/py3k/Objects/codeobject.c (original)
+++ python/branches/py3k/Objects/codeobject.c Wed Oct 24 23:14:07 2007
@@ -66,9 +66,6 @@
PyErr_BadInternalCall();
return NULL;
}
- Py_INCREF(name);
- Py_INCREF(filename);
-
intern_strings(names);
intern_strings(varnames);
intern_strings(freevars);
@@ -110,7 +107,6 @@
co->co_lnotab = lnotab;
co->co_zombieframe = NULL;
}
- Py_DECREF(name);
return co;
}
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins