richcallsettingsengine/rcse2/src/rcsedbimporter.cpp
branchRCL_3
changeset 15 43658d24f35d
parent 0 a4daefaec16c
--- a/richcallsettingsengine/rcse2/src/rcsedbimporter.cpp	Tue May 11 16:04:22 2010 +0300
+++ b/richcallsettingsengine/rcse2/src/rcsedbimporter.cpp	Tue May 25 12:31:20 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -828,6 +828,8 @@
     const TDesC& aNumbers,
     RArray<TSettingIds>& aArray )
     {
+    CleanupClosePushL( aArray );
+    
     TLex lex( aNumbers );
     
     TSettingIds value;
@@ -853,6 +855,8 @@
             lex.Inc( 1 );
             }
         } 
+    
+    CleanupStack::Pop( &aArray );
     }
 
 
@@ -865,6 +869,7 @@
     const TDesC& aNumbers,
     RArray<T>& aArray )
     {
+    CleanupClosePushL( aArray );
     TLex lex( aNumbers );
 
     // Reset original array
@@ -884,7 +889,9 @@
             // Go over the space character.
             lex.Inc( 1 );
             }
-        } 
+        }
+    
+    CleanupStack::Pop( &aArray );
     }