omadrm/drmengine/agentv2/src/Oma2AgentRightsManager.cpp
changeset 84 b09186059647
parent 23 493788a4a8a4
equal deleted inserted replaced
82:a117e284a2c6 84:b09186059647
     1 /*
     1 /*
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   330     while (entry != NULL)
   330     while (entry != NULL)
   331         {
   331         {
   332         CleanupStack::PushL(entry);
   332         CleanupStack::PushL(entry);
   333         path = CVirtualPath::NewL(TVirtualPathPtr(entry->FileName(),
   333         path = CVirtualPath::NewL(TVirtualPathPtr(entry->FileName(),
   334             KDefaultContentObject));
   334             KDefaultContentObject));
       
   335         CleanupStack::PushL(path);
   335         aArray.AppendL(path);
   336         aArray.AppendL(path);
       
   337         CleanupStack::Pop(path);
   336         CleanupStack::PopAndDestroy(); // entry
   338         CleanupStack::PopAndDestroy(); // entry
   337         entry = rep->NextL();
   339         entry = rep->NextL();
   338         }
   340         }
   339 
   341 
   340     CleanupStack::PopAndDestroy(3); // rep, contentId, client
   342     CleanupStack::PopAndDestroy(3); // rep, contentId, client