mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
Fix a memory leak in _msi.c (GH-4127) (#4309)
(cherry picked from commit cb04f75182
)
This commit is contained in:
parent
e65617f65e
commit
ef6f224ae6
1 changed files with 1 additions and 0 deletions
|
@ -284,6 +284,7 @@ msiobj_dealloc(msiobj* msidb)
|
|||
{
|
||||
MsiCloseHandle(msidb->h);
|
||||
msidb->h = 0;
|
||||
PyObject_Del(msidb);
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue