summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-11-07 10:33:41 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-11-07 10:33:41 (GMT)
commitb74c3d410d9c3682c905cf5b9e777747e86e1e87 (patch)
treedefe3ecdd946b5524c86bec1a50dc11b70c3b9b4 /PC
parent69ea4b4deb123c9a3c986b7afb85183732784f4f (diff)
downloadcpython-b74c3d410d9c3682c905cf5b9e777747e86e1e87.zip
cpython-b74c3d410d9c3682c905cf5b9e777747e86e1e87.tar.gz
cpython-b74c3d410d9c3682c905cf5b9e777747e86e1e87.tar.bz2
Fix a memory leak in _msi.c (GH-4127) (#4308)
(cherry picked from commit cb04f7518292108d68e5ba4c685ca2bf2da18eab)
Diffstat (limited to 'PC')
-rw-r--r--PC/_msi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index d56b5d1..d7700f0 100644
--- a/PC/_msi.c
+++ b/PC/_msi.c
@@ -271,6 +271,7 @@ msiobj_dealloc(msiobj* msidb)
{
MsiCloseHandle(msidb->h);
msidb->h = 0;
+ PyObject_Del(msidb);
}
static PyObject*