Fix a memory leak in _msi.c (#4127)

This commit is contained in:
Zackery Spytz 2017-11-07 03:03:09 -07:00 committed by Victor Stinner
parent 4135c89395
commit cb04f75182
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ msiobj_dealloc(msiobj* msidb)
{
MsiCloseHandle(msidb->h);
msidb->h = 0;
PyObject_Del(msidb);
}
static PyObject*