From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 7 Nov 2017 10:33:41 +0000 (-0800) Subject: Fix a memory leak in _msi.c (GH-4127) (#4308) X-Git-Tag: v2.7.15rc1~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b74c3d410d9c3682c905cf5b9e777747e86e1e87;p=python Fix a memory leak in _msi.c (GH-4127) (#4308) (cherry picked from commit cb04f7518292108d68e5ba4c685ca2bf2da18eab) --- diff --git a/PC/_msi.c b/PC/_msi.c index d56b5d10dc..d7700f09c7 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*