diff -r 47c74d1534e1 -r ddc455616bd6 lowlevellibsandfws/pluginfw/Test_Bed/test_bed/LeakTestTransition.cpp --- a/lowlevellibsandfws/pluginfw/Test_Bed/test_bed/LeakTestTransition.cpp Fri Apr 16 16:46:38 2010 +0300 +++ b/lowlevellibsandfws/pluginfw/Test_Bed/test_bed/LeakTestTransition.cpp Mon May 03 14:06:43 2010 +0300 @@ -29,22 +29,11 @@ // Do nothing here } -class TestRHeap : public RHeap - { -public: - inline void Set(TAny* aPtr) - { - iTestData = aPtr; - }; - }; -RHeap::SHeapCellInfo s; - // Define the overloaded RunL behaviour here EXPORT_C void CLeakTestTransition::RunL() { // Setup leak check and call the base RunL iThread.HandleCount(iStartProcessHandleCount, iStartThreadHandleCount); - (static_cast(User::Heap())).Set(&s); __UHEAP_SETFAIL(RHeap::EDeterministic,iFailStep); __UHEAP_MARK; if(iBreakStep == iFailStep) @@ -141,13 +130,10 @@ } __UHEAP_MARKEND; __UHEAP_SETFAIL(RHeap::ENone, KMemoryLeakTestFailInit); // No more fails - (static_cast(User::Heap())).Set(0); return KErrNone; } EXPORT_C void CLeakTestTransition::PostTransitionCleanup() { - __UHEAP_MARKEND; __UHEAP_SETFAIL(RHeap::ENone, KMemoryLeakTestFailInit); // No more fails - (static_cast(User::Heap())).Set(0); }