Skip to content

Commit

Permalink
Remove misplaced PyMem_Free
Browse files Browse the repository at this point in the history
  • Loading branch information
Starbuck5 committed Nov 19, 2024
1 parent b20ac82 commit ffd4767
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src_c/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ aalines(PyObject *self, PyObject *arg, PyObject *kwargs)
float *ylist = points_buf + length;

if (points_buf == NULL) {
PyMem_Free(points_buf);
return RAISE(PyExc_MemoryError,
"cannot allocate memory to draw aalines");
}
Expand Down

0 comments on commit ffd4767

Please sign in to comment.