summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-03-07 11:20:13 -0700
committerSteve Dower <steve.dower@microsoft.com>2019-03-07 10:20:13 -0800
commitbf94cc7b496a379e1f604aa2e4080bb70ca4020e (patch)
tree4643cfc33b50f14ddd8a54d4afd5e73bd86f9807
parent2f8f56499c20af70ff5037fdbc5d738e56d9eab0 (diff)
downloadcpython-git-bf94cc7b496a379e1f604aa2e4080bb70ca4020e.tar.gz
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
-rw-r--r--PC/_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index 99aef52e42..ae30acbc9b 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;
}