mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Fix mixed mallocs: re->re_patbuf.buffer is allocated with std malloc().
This commit is contained in:
parent
56509a3cb8
commit
9e3d73af93
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ static void
|
|||
reg_dealloc(regexobject *re)
|
||||
{
|
||||
if (re->re_patbuf.buffer)
|
||||
PyMem_DEL(re->re_patbuf.buffer);
|
||||
free(re->re_patbuf.buffer);
|
||||
Py_XDECREF(re->re_translate);
|
||||
Py_XDECREF(re->re_lastok);
|
||||
Py_XDECREF(re->re_groupindex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue