diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-18 12:11:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-18 12:11:52 +0000 |
commit | 6418df5d4af7b1a1f6855c2720bb50739f967a73 (patch) | |
tree | 1b6fc1d9b4fa7dc86b23d30d798c31ed45b99b45 /desktop | |
parent | ec7b28f18d268b5093e7cab58769c86b59e4608e (diff) |
don't pushback and process a corrupt extension
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/package/dp_package.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index dba70f598857..0c89b4a62739 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -1618,7 +1618,8 @@ BackendImpl::PackageImpl::getPackagesFromDb( Reference<deployment::XPackage> xExtension = bindBundleItem(i->first, i->second, true, m_identifier, xCmdEnv); OSL_ASSERT(xExtension.is()); - retVector.push_back(xExtension); + if (xExtension.is()) + retVector.push_back(xExtension); } return retVector; |