commit | 6ba95c38c556ad4d254c5af34f439a1307ed585c | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu Mar 07 10:39:34 2019 -0800 |
committer | GitHub <noreply@github.com> | Thu Mar 07 10:39:34 2019 -0800 |
tree | ea107b8cb88879a96da9674a94584e1bd6181b5e | |
parent | 34b398559fc47745473a39313a9e2ec17fe1d9ad [diff] |
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074) (cherry picked from commit bf94cc7b496a379e1f604aa2e4080bb70ca4020e) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
diff --git a/PC/_msi.c b/PC/_msi.c index 99aef52..ae30acb 100644 --- a/PC/_msi.c +++ b/PC/_msi.c
@@ -916,7 +916,7 @@ return msierror(status); oresult = PyObject_NEW(struct msiobj, &summary_Type); - if (!result) { + if (!oresult) { MsiCloseHandle(result); return NULL; }