--- a/piprofilerui/ui/hb/src/piprofilerengineprivate.cpp Tue Sep 14 21:20:12 2010 +0300
+++ b/piprofilerui/ui/hb/src/piprofilerengineprivate.cpp Wed Sep 15 12:13:45 2010 +0300
@@ -181,7 +181,10 @@
// check now if a second appearance exists in process list,
// i.e. engine started from eshell => two engine processes appear in normal case
- procName.Next(aResult2);
+ err = procName.Next(aResult2);
+ if (err != KErrNone) {
+ return err;
+ }
// check if aResult2 contained the second appearance of profiler engine
if(aResult2.CompareF(aResult) > 0)