mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
This commit is contained in:
parent
2f8f56499c
commit
bf94cc7b49
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue