We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b73bae + 2b9a9ec commit 897318eCopy full SHA for 897318e
src_c/rwobject.c
@@ -489,7 +489,7 @@ pgRWops_ReleaseObject(SDL_RWops *context)
489
Py_XDECREF(helper->read);
490
Py_XDECREF(helper->close);
491
Py_DECREF(fileobj);
492
- PyMem_Del(helper);
+ PyMem_Free(helper);
493
SDL_FreeRW(context);
494
}
495
else {
src_c/time.c
@@ -135,7 +135,7 @@ _pg_remove_event_timer(pgEventObject *ev)
135
else
136
pg_event_timer = hunt->next;
137
Py_DECREF(hunt->event);
138
- PyMem_Del(hunt);
+ PyMem_Free(hunt);
139
140
/* Chances of it failing here are next to zero, dont do anything */
141
SDL_UnlockMutex(timermutex);
0 commit comments