internetradio2.0/dataprovidersrc/irhttpdataprovider.cpp
changeset 11 f683e24efca3
parent 3 ee64f059b8e1
child 12 608f67c22514
--- a/internetradio2.0/dataprovidersrc/irhttpdataprovider.cpp	Fri Jun 11 13:30:40 2010 +0300
+++ b/internetradio2.0/dataprovidersrc/irhttpdataprovider.cpp	Wed Jun 23 18:04:00 2010 +0300
@@ -740,12 +740,16 @@
 		TInt pfCount = pf.Count();
         for(ii=0;ii<pf.Count();ii++)
             {
-            TBuf<KSize> z;
-            TBuf<KSize> z1;
+            RBuf z;
+            RBuf z1;
             TBool first;
             //file extensions
             const CDesC8Array &fe=pf[ii]->SupportedFileExtensions();
             first=TRUE;
+            z.CreateL(KSize);
+            z.CleanupClosePushL();
+            z1.CreateL(KSize);
+            z1.CleanupClosePushL();
             z1.Zero();
             for(j=0;j<fe.Count();j++)
                 {
@@ -787,7 +791,7 @@
                 	tempD++;	                	
 	                }
                 };
-
+            CleanupStack::PopAndDestroy(2);
             };// for play formats
             }