Commit b19943ec authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub

bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)

(cherry picked from commit bf94cc7b)
Co-authored-by: default avatarZackery Spytz <zspytz@gmail.com>
parent e37ef412
......@@ -894,7 +894,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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment