diff --git a/psycopg/cursor_type.c b/psycopg/cursor_type.c index 199c8a30..7bf588fe 100644 --- a/psycopg/cursor_type.c +++ b/psycopg/cursor_type.c @@ -1133,7 +1133,7 @@ exit: } } } - PyMem_Del(scpnames); + PyMem_Free(scpnames); Py_XDECREF(pname); Py_XDECREF(pnames); Py_XDECREF(operation);