mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
Free also co_extra->ce_extras, not only co_extra. (cherry picked from commit23e7944eba
) (cherry picked from commit26daad4ee1
)
This commit is contained in:
parent
b6012f982f
commit
c794b643c9
1 changed files with 2 additions and 1 deletions
|
@ -422,7 +422,8 @@ code_dealloc(PyCodeObject *co)
|
|||
}
|
||||
}
|
||||
|
||||
PyMem_FREE(co->co_extra);
|
||||
PyMem_Free(co_extra->ce_extras);
|
||||
PyMem_Free(co_extra);
|
||||
}
|
||||
|
||||
Py_XDECREF(co->co_code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue