--- a/srsf/sispeechrecognitiondata/src/nsssispeechrecognitiondatadevasr.cpp Wed Apr 14 15:58:44 2010 +0300
+++ b/srsf/sispeechrecognitiondata/src/nsssispeechrecognitiondatadevasr.cpp Tue May 11 16:14:47 2010 +0300
@@ -20,6 +20,7 @@
// INCLUDE FILES
#include <e32std.h>
#include <s32mem.h>
+#include <mmf\common\mmfcontrollerpluginresolver.h>
#include "nsssispeechrecognitiondatadevasr.h"
#include "nsssispeechrecognitiondatatest.h"
#include "nsssidataserialize.h"
@@ -2128,6 +2129,7 @@
const TInt aIndex,
RPointerArray<CSIPronunciationInfo>& aPronunciations ) const
{
+ CleanupResetAndDestroyPushL( aPronunciations );
// clear given array
aPronunciations.Reset();
@@ -2140,6 +2142,7 @@
User::LeaveIfError( error );
}
}
+ CleanupStack::Pop( &aPronunciations );
}
/*****************************************************************************/