[Zope-Checkins] CVS: Zope3/lib/python/Zope/Security/secproxy - secproxy.c:1.1.2.3
Guido van Rossum
guido@python.org
Thu, 18 Apr 2002 00:59:18 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Security/secproxy
In directory cvs.zope.org:/tmp/cvs-serv29728
Modified Files:
Tag: SecurityProxy-branch
secproxy.c
Log Message:
Fixed the segfault -- the HAVE_GC flag was missing, but tp_free was
set to _PyObject_GC_Del.
=== Zope3/lib/python/Zope/Security/secproxy/secproxy.c 1.1.2.2 => 1.1.2.3 ===
wrap_setattro, /* tp_setattro */
0, /* tp_as_buffer */
- Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
+ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE |
+ Py_TPFLAGS_HAVE_GC, /* tp_flags */
0, /* tp_doc */
wrap_traverse, /* tp_traverse */
0, /* tp_clear */