bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (G… · python/cpython@b19943e

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit b19943e

bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)

(cherry picked from commit bf94cc7) Co-authored-by: Zackery Spytz <zspytz@gmail.com>

1 parent e37ef41 commit b19943e

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

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)