Skip to content

Commit

Permalink
Fix a memory leak in _msi.c (GH-4127) (#4309)
Browse files Browse the repository at this point in the history
(cherry picked from commit cb04f75)
  • Loading branch information
miss-islington authored and vstinner committed Nov 7, 2017
1 parent e65617f commit ef6f224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PC/_msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ msiobj_dealloc(msiobj* msidb)
{
MsiCloseHandle(msidb->h);
msidb->h = 0;
PyObject_Del(msidb);
}

static PyObject*
Expand Down

0 comments on commit ef6f224

Please sign in to comment.