Skip to content

Commit bf94cc7

Browse files
ZackerySpytzzooba
authored andcommitted
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
1 parent 2f8f564 commit bf94cc7

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)