summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZackery Spytz <Osmunda46@gmail.com>2017-11-07 10:03:09 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-11-07 10:03:09 (GMT)
commitcb04f7518292108d68e5ba4c685ca2bf2da18eab (patch)
treef9be668cb1da7e0179b27f956b42d2b3e70ed80f
parent4135c89395726024abddb7340a0c7a42c801f616 (diff)
downloadcpython-cb04f7518292108d68e5ba4c685ca2bf2da18eab.zip
cpython-cb04f7518292108d68e5ba4c685ca2bf2da18eab.tar.gz
cpython-cb04f7518292108d68e5ba4c685ca2bf2da18eab.tar.bz2
Fix a memory leak in _msi.c (#4127)
-rw-r--r--PC/_msi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index c028a88..a15f684 100644
--- a/PC/_msi.c
+++ b/PC/_msi.c
@@ -283,6 +283,7 @@ msiobj_dealloc(msiobj* msidb)
{
MsiCloseHandle(msidb->h);
msidb->h = 0;
+ PyObject_Del(msidb);
}
static PyObject*