diff options
-rw-r--r-- | Modules/_curses_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_curses_panel.c b/Modules/_curses_panel.c index f95392f..5736868 100644 --- a/Modules/_curses_panel.c +++ b/Modules/_curses_panel.c @@ -191,7 +191,7 @@ PyCursesPanel_Dealloc(PyCursesPanelObject *po) (void)del_panel(po->pan); Py_DECREF(po->wo); remove_lop(po); - PyMem_DEL(po); + PyObject_DEL(po); } /* panel_above(NULL) returns the bottom panel in the stack. To get |