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

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 bf94cc7

ZackerySpytzzooba

authored and

committed

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

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)