diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_cursesmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index e785e48..f819a9e 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -356,7 +356,7 @@ static void PyCursesWindow_Dealloc(PyCursesWindowObject *wo) { if (wo->win != stdscr) delwin(wo->win); - PyMem_DEL(wo); + PyObject_DEL(wo); } /* Addch, Addstr, Addnstr */ |