Update of /cvsroot/python/python/dist/src/Modules In directory usw-pr-cvs1:/tmp/cvs-serv8213/Modules Modified Files: Tag: release22-maint _cursesmodule.c _curses_panel.c Log Message: Backport my fixing up of PyObject_New/PyMem_Del mismatches. Index: _cursesmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/_cursesmodule.c,v retrieving revision 2.61 retrieving revision 2.61.6.1 diff -C2 -d -r2.61 -r2.61.6.1 *** _cursesmodule.c 2001/12/08 18:02:54 2.61 --- _cursesmodule.c 2002/02/06 17:11:51 2.61.6.1 *************** *** 361,365 **** { if (wo->win != stdscr) delwin(wo->win); ! PyMem_DEL(wo); } --- 361,365 ---- { if (wo->win != stdscr) delwin(wo->win); ! PyObject_DEL(wo); } Index: _curses_panel.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/_curses_panel.c,v retrieving revision 1.8 retrieving revision 1.8.6.1 diff -C2 -d -r1.8 -r1.8.6.1 *** _curses_panel.c 2001/12/08 18:02:54 1.8 --- _curses_panel.c 2002/02/06 17:11:51 1.8.6.1 *************** *** 194,198 **** Py_DECREF(po->wo); remove_lop(po); ! PyMem_DEL(po); } --- 194,198 ---- Py_DECREF(po->wo); remove_lop(po); ! PyObject_DEL(po); }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4