ncdengine/provider/server/src/ncdloadrootnodeoperationimpl.cpp
changeset 24 84a16765cd86
parent 0 ba25891c3a9e
child 66 8b7f4e561641
--- a/ncdengine/provider/server/src/ncdloadrootnodeoperationimpl.cpp	Tue Feb 02 00:20:15 2010 +0200
+++ b/ncdengine/provider/server/src/ncdloadrootnodeoperationimpl.cpp	Fri Mar 19 09:33:35 2010 +0200
@@ -1018,6 +1018,11 @@
     // Create folder for catalog bundle.
     DASSERT( bundleId );
     
+    if (!bundleId)
+        {
+        User::Leave(KErrNotFound);
+        }
+    
     CNcdNodeIdentifier* metaDataId = CNcdNodeIdentifier::NewLC(
         aDetail.Value(), *bundleId, iPendingMessage->Session().Context().FamilyId() );
     DLINFO((_L("Bundle metaid ns: %S, id: %S"),