diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-18 12:11:52 +0000 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-03 17:45:44 +0100 |
commit | 254dba67e70531324daf603a967ec92ba093ab9e (patch) | |
tree | 6acc70325ad532c7e7f8685fef6c5d7921999b93 /desktop/source | |
parent | 03f8e73f3d01d76c43ce0baab7c6cb6ed9e82051 (diff) |
don't pushback and process a corrupt extension
Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'desktop/source')
-rwxr-xr-x | 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 718cdbc06a03..9b039248da8f 100755 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -1620,7 +1620,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; |