[Python-checkins] bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
Miss Islington (bot)
webhook-mailer at python.org
Thu Mar 7 13:39:47 EST 2019
https://github.com/python/cpython/commit/6ba95c38c556ad4d254c5af34f439a1307ed585c
commit: 6ba95c38c556ad4d254c5af34f439a1307ed585c
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-03-07T10:39:34-08:00
summary:
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
(cherry picked from commit bf94cc7b496a379e1f604aa2e4080bb70ca4020e)
Co-authored-by: Zackery Spytz <zspytz at gmail.com>
files:
M PC/_msi.c
diff --git a/PC/_msi.c b/PC/_msi.c
index 99aef52e422b..ae30acbc9b48 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;
}
More information about the Python-checkins
mailing list