Skip to content

Commit 6ba95c3

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 34b3985 commit 6ba95c3

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
@@ -916,7 +916,7 @@ msidb_getsummaryinformation(msiobj *db, PyObject *args)
916916
return msierror(status);
917917

918918
oresult = PyObject_NEW(struct msiobj, &summary_Type);
919-
if (!result) {
919+
if (!oresult) {
920920
MsiCloseHandle(result);
921921
return NULL;
922922
}

0 commit comments

Comments
 (0)