summaryrefslogtreecommitdiff
path: root/PC/_subprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/_subprocess.c')
-rw-r--r--PC/_subprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_subprocess.c b/PC/_subprocess.c
index 1ca4ece4e0..78ceb7d9e4 100644
--- a/PC/_subprocess.c
+++ b/PC/_subprocess.c
@@ -104,7 +104,7 @@ sp_handle_dealloc(sp_handle_object* self)
{
if (self->handle != INVALID_HANDLE_VALUE)
CloseHandle(self->handle);
- PyMem_DEL(self);
+ PyObject_FREE(self);
}
static PyMethodDef sp_handle_methods[] = {