diff options
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 | ||
