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

This commit is contained in:
Zackery Spytz 2019-03-07 11:20:13 -07:00 committed by Steve Dower
parent 2f8f56499c
commit bf94cc7b49

View file

@ -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;
}