mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix a memory leak in _msi.c (#4127)
This commit is contained in:
parent
4135c89395
commit
cb04f75182
1 changed files with 1 additions and 0 deletions
|
@ -283,6 +283,7 @@ msiobj_dealloc(msiobj* msidb)
|
||||||
{
|
{
|
||||||
MsiCloseHandle(msidb->h);
|
MsiCloseHandle(msidb->h);
|
||||||
msidb->h = 0;
|
msidb->h = 0;
|
||||||
|
PyObject_Del(msidb);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue