bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
This commit is contained in:
parent
2f8f56499c
commit
bf94cc7b49
|
@ -916,7 +916,7 @@ msidb_getsummaryinformation(msiobj *db, PyObject *args)
|
||||||
return msierror(status);
|
return msierror(status);
|
||||||
|
|
||||||
oresult = PyObject_NEW(struct msiobj, &summary_Type);
|
oresult = PyObject_NEW(struct msiobj, &summary_Type);
|
||||||
if (!result) {
|
if (!oresult) {
|
||||||
MsiCloseHandle(result);
|
MsiCloseHandle(result);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue