Commit bf94cc7b authored by Zackery Spytz's avatar Zackery Spytz Committed by Steve Dower

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

parent 2f8f5649
......@@ -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;
}
......
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