equal
deleted
inserted
replaced
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
110 TMapIterator<TInt, CPolicyDomain*> it(iPDCollection); |
110 TMapIterator<TInt, CPolicyDomain*> it(iPDCollection); |
111 TPair<TInt, CPolicyDomain*> pair; |
111 TPair<TInt, CPolicyDomain*> pair; |
112 while(it.Next(pair)) |
112 while(it.Next(pair)) |
113 { |
113 { |
114 delete pair.iData; |
114 delete pair.iData; |
|
115 pair.iData = NULL; |
115 } |
116 } |
116 iPDCollection.Close(); |
117 iPDCollection.Close(); |
117 delete iPassAllTblPolicy; |
118 delete iPassAllTblPolicy; |
118 delete iPassAllDbPolicy; |
119 delete iPassAllDbPolicy; |
119 } |
120 } |