Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb04f75

Browse files
ZackerySpytzvstinner
authored andcommitted
Fix a memory leak in _msi.c (#4127)
1 parent 4135c89 commit cb04f75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PC/_msi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ msiobj_dealloc(msiobj* msidb)
283283
{
284284
MsiCloseHandle(msidb->h);
285285
msidb->h = 0;
286+
PyObject_Del(msidb);
286287
}
287288

288289
static PyObject*

0 commit comments

Comments
 (0)