[Python-checkins] python/dist/src/Python newcompile.c, 1.1.2.88,
1.1.2.89
jhylton at users.sourceforge.net
jhylton at users.sourceforge.net
Tue Apr 13 11:04:56 EDT 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18029/Python
Modified Files:
Tag: ast-branch
newcompile.c
Log Message:
Add missing DECREFs.
Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.88
retrieving revision 1.1.2.89
diff -C2 -d -r1.1.2.88 -r1.1.2.89
*** newcompile.c 8 Apr 2004 18:00:46 -0000 1.1.2.88
--- newcompile.c 13 Apr 2004 15:04:51 -0000 1.1.2.89
***************
*** 504,507 ****
--- 504,508 ----
if (u->u_blocks)
PyObject_Free((void *)u->u_blocks);
+ Py_XDECREF(u->u_ste);
Py_XDECREF(u->u_name);
Py_XDECREF(u->u_consts);
***************
*** 510,513 ****
--- 511,515 ----
Py_XDECREF(u->u_freevars);
Py_XDECREF(u->u_cellvars);
+ Py_XDECREF(u->u_private);
PyObject_Free(u);
}
More information about the Python-checkins
mailing list