diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-04-16 10:09:26 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-04-19 23:12:55 -0500 |
| commit | 90cdf39e6e6b7d676ca33bee031fa2b865bb5fbd (patch) | |
| tree | 901feb035d5ea9a13f306582cedd6668b539953f /src/engine/relatedbundle.cpp | |
| parent | c88806b89293f5bb92c42e90230e48be6b79b7f4 (diff) | |
| download | wix-90cdf39e6e6b7d676ca33bee031fa2b865bb5fbd.tar.gz wix-90cdf39e6e6b7d676ca33bee031fa2b865bb5fbd.tar.bz2 wix-90cdf39e6e6b7d676ca33bee031fa2b865bb5fbd.zip | |
Don't plan payloads.
Contributes to #3640 and #5253
Diffstat (limited to 'src/engine/relatedbundle.cpp')
| -rw-r--r-- | src/engine/relatedbundle.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/engine/relatedbundle.cpp b/src/engine/relatedbundle.cpp index 6953c678..a79be020 100644 --- a/src/engine/relatedbundle.cpp +++ b/src/engine/relatedbundle.cpp | |||
| @@ -80,7 +80,14 @@ extern "C" void RelatedBundlesUninitialize( | |||
| 80 | { | 80 | { |
| 81 | for (DWORD i = 0; i < pRelatedBundles->cRelatedBundles; ++i) | 81 | for (DWORD i = 0; i < pRelatedBundles->cRelatedBundles; ++i) |
| 82 | { | 82 | { |
| 83 | PackageUninitialize(&pRelatedBundles->rgRelatedBundles[i].package); | 83 | BURN_PACKAGE* pPackage = &pRelatedBundles->rgRelatedBundles[i].package; |
| 84 | |||
| 85 | for (DWORD j = 0; j < pPackage->payloads.cPayloads; ++j) | ||
| 86 | { | ||
| 87 | PayloadUninitialize(pPackage->payloads.rgpPayloads[j]); | ||
| 88 | } | ||
| 89 | |||
| 90 | PackageUninitialize(pPackage); | ||
| 84 | ReleaseStr(pRelatedBundles->rgRelatedBundles[i].sczTag); | 91 | ReleaseStr(pRelatedBundles->rgRelatedBundles[i].sczTag); |
| 85 | } | 92 | } |
| 86 | 93 | ||
