Skip to content

Commit b74c3d4

Browse files
miss-islingtonvstinner
authored andcommitted
Fix a memory leak in _msi.c (GH-4127) (#4308)
(cherry picked from commit cb04f75)
1 parent 69ea4b4 commit b74c3d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PC/_msi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ msiobj_dealloc(msiobj* msidb)
271271
{
272272
MsiCloseHandle(msidb->h);
273273
msidb->h = 0;
274+
PyObject_Del(msidb);
274275
}
275276

276277
static PyObject*

0 commit comments

Comments
 (0)