aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/registration.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-01-14 21:37:24 -0600
committerSean Hall <r.sean.hall@gmail.com>2022-01-16 10:30:28 -0600
commitda1d1376953ef1c9afb32d5eee02b785e52e372e (patch)
tree0df8550960259d7b13f5cd90f04d21b5576f16b7 /src/burn/engine/registration.cpp
parentabe316b80fae80eba54b0b79e76b6362105fa098 (diff)
downloadwix-da1d1376953ef1c9afb32d5eee02b785e52e372e.tar.gz
wix-da1d1376953ef1c9afb32d5eee02b785e52e372e.tar.bz2
wix-da1d1376953ef1c9afb32d5eee02b785e52e372e.zip
Remove orphan compatible MSI packages.
Reimplements #3190
Diffstat (limited to 'src/burn/engine/registration.cpp')
-rw-r--r--src/burn/engine/registration.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/burn/engine/registration.cpp b/src/burn/engine/registration.cpp
index a5b061eb..c76dde53 100644
--- a/src/burn/engine/registration.cpp
+++ b/src/burn/engine/registration.cpp
@@ -423,6 +423,10 @@ extern "C" void RegistrationUninitialize(
423 ReleaseStr(pRegistration->sczBundlePackageAncestors); 423 ReleaseStr(pRegistration->sczBundlePackageAncestors);
424 RelatedBundlesUninitialize(&pRegistration->relatedBundles); 424 RelatedBundlesUninitialize(&pRegistration->relatedBundles);
425 425
426 if (pRegistration->rgDependents)
427 {
428 ReleaseDependencyArray(pRegistration->rgDependents, pRegistration->cDependents);
429 }
426 // clear struct 430 // clear struct
427 memset(pRegistration, 0, sizeof(BURN_REGISTRATION)); 431 memset(pRegistration, 0, sizeof(BURN_REGISTRATION));
428} 432}