--- a/metadataengine/server/src/mdsnotifier.cpp Fri Feb 19 23:14:48 2010 +0200
+++ b/metadataengine/server/src/mdsnotifier.cpp Fri Mar 12 15:44:28 2010 +0200
@@ -76,6 +76,25 @@
CMdSNotifier::~CMdSNotifier()
{
delete iComparator;
+
+ const TInt count = iEntries.Count();
+
+ for ( TInt i = 0; i < count; ++i )
+ {
+ TEntry& e = iEntries[i];
+
+ if ( e.iSerializedCondition )
+ {
+ delete e.iSerializedCondition;
+ e.iSerializedCondition = NULL;
+ }
+ if ( e.iDataBuffer )
+ {
+ delete e.iDataBuffer;
+ e.iDataBuffer = NULL;
+ }
+ }
+
iEntries.Close();
}