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;
     }