From 32b1614e3221aea9fa5f3f39ed9b9da06905ae88 Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Thu, 7 Mar 2019 11:20:13 -0700 Subject: [PATCH] bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074) (cherry picked from commit bf94cc7b496a379e1f604aa2e4080bb70ca4020e) Co-authored-by: Zackery Spytz --- PC/_msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC/_msi.c b/PC/_msi.c index 99aef52e422b9d..ae30acbc9b48d4 100644 --- a/PC/_msi.c +++ b/PC/_msi.c @@ -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; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy