Skip to content

Commit b19943e

Browse files
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
(cherry picked from commit bf94cc7) Co-authored-by: Zackery Spytz <[email protected]>
1 parent e37ef41 commit b19943e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PC/_msi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ msidb_getsummaryinformation(msiobj *db, PyObject *args)
894894
return msierror(status);
895895

896896
oresult = PyObject_NEW(struct msiobj, &summary_Type);
897-
if (!result) {
897+
if (!oresult) {
898898
MsiCloseHandle(result);
899899
return NULL;
900900
}

0 commit comments

Comments
 (0)