changeset 62 | 1c2bb2fc7c87 |
parent 51 | 98307c651589 |
--- a/perfsrv/piprofiler/piprofiler_plat/inc/ProfilerSession.h Fri Oct 08 14:56:39 2010 +0300 +++ b/perfsrv/piprofiler/piprofiler_plat/inc/ProfilerSession.h Tue Oct 26 16:20:32 2010 +0300 @@ -303,10 +303,11 @@ } p.RSessionBase::Close(); - + delete buffer; + buffer = NULL; if(r != KErrNone) { - LOGSTRING2("Profiler responded with an error - code %d !!",r); + LOGSTRING2("Profiler responded with an error - code %d !!",r); return r; } else