Skip to content

Commit

Permalink
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (G…
Browse files Browse the repository at this point in the history
…H-12074)

(cherry picked from commit bf94cc7)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
  • Loading branch information
miss-islington and ZackerySpytz committed Mar 7, 2019
1 parent 34b3985 commit 6ba95c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/_msi.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6ba95c3

Please sign in to comment.