python/dist/src/Include object.h,2.128,2.129
Update of /cvsroot/python/python/dist/src/Include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13289/Include Modified Files: object.h Log Message: SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes (Contributed by Dima Dorfman) Index: object.h =================================================================== RCS file: /cvsroot/python/python/dist/src/Include/object.h,v retrieving revision 2.128 retrieving revision 2.129 diff -u -d -r2.128 -r2.129 --- object.h 22 Jul 2004 01:46:43 -0000 2.128 +++ object.h 1 Sep 2004 07:02:42 -0000 2.129 @@ -623,7 +623,7 @@ #define Py_CLEAR(op) \ do { \ if (op) { \ - PyObject *tmp = (op); \ + PyObject *tmp = (PyObject *)(op); \ (op) = NULL; \ Py_DECREF(tmp); \ } \
participants (1)
-
rhettingerīŧ users.sourceforge.net