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

(cherry picked from commit cb04f75182)
This commit is contained in:
Miss Islington (bot) 2017-11-07 02:50:41 -08:00 committed by Victor Stinner
parent e65617f65e
commit ef6f224ae6

View file

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