summaryrefslogtreecommitdiffstats
path: root/PC/_msi.c
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-03-07 18:20:13 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2019-03-07 18:20:13 (GMT)
commitbf94cc7b496a379e1f604aa2e4080bb70ca4020e (patch)
tree4643cfc33b50f14ddd8a54d4afd5e73bd86f9807 /PC/_msi.c
parent2f8f56499c20af70ff5037fdbc5d738e56d9eab0 (diff)
downloadcpython-bf94cc7b496a379e1f604aa2e4080bb70ca4020e.zip
cpython-bf94cc7b496a379e1f604aa2e4080bb70ca4020e.tar.gz
cpython-bf94cc7b496a379e1f604aa2e4080bb70ca4020e.tar.bz2
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
Diffstat (limited to 'PC/_msi.c')
-rw-r--r--PC/_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index 99aef52..ae30acb 100644
--- a/PC/_msi.c
+++ b/PC/_msi.c
@@ -916,7 +916,7 @@ msidb_getsummaryinformation(msiobj *db, PyObject *args)
return msierror(status);
oresult = PyObject_NEW(struct msiobj, &summary_Type);
- if (!result) {
+ if (!oresult) {
MsiCloseHandle(result);
return NULL;
}