summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-07 10:39:34 -0800
committerGitHub <noreply@github.com>2019-03-07 10:39:34 -0800
commit6ba95c38c556ad4d254c5af34f439a1307ed585c (patch)
treeea107b8cb88879a96da9674a94584e1bd6181b5e /PC
parent34b398559fc47745473a39313a9e2ec17fe1d9ad (diff)
downloadcpython-git-6ba95c38c556ad4d254c5af34f439a1307ed585c.tar.gz
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
(cherry picked from commit bf94cc7b496a379e1f604aa2e4080bb70ca4020e) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'PC')
-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;
}