--- a/camerauis/cameraapp/generic/camerauiconfigmanager/src/CameraUiConfigManager.cpp Wed Sep 15 11:51:19 2010 +0300
+++ b/camerauis/cameraapp/generic/camerauiconfigmanager/src/CameraUiConfigManager.cpp Wed Oct 13 14:09:54 2010 +0300
@@ -129,7 +129,6 @@
EXPORT_C TBool CCameraUiConfigManager::IsDSAViewFinderSupported( TBool aPrimaryCamera ) const
{
RArray<TInt> supportedItems;
- CleanupClosePushL( supportedItems );
TBool supported ( EFalse );
TRAPD( err,iConfigManagerImp->SupportedSettingItemsL( ECamDynamicSettingDSAViewFinder,
supportedItems ) );
@@ -138,7 +137,7 @@
if ( aPrimaryCamera ) supported = supportedItems[0];
else supported = supportedItems[1];
}
- CleanupStack::PopAndDestroy( &supportedItems );
+ supportedItems.Close();
return supported; // not supported
}