1

Resolved

memory leak.

description

pushframework 3.0

virtual ObjectPtr createImpl()
{
MemorySegment* segment = new MemorySegment();
segment->data = new char[nSize];
segment->size = nSize;
return segment;
}

comments

charfeddineahmed wrote Oct 13, 2014 at 9:08 PM

Thank you for reporting this issue. I was not able to see this because after all, we want all memory segments to stay alive until the process dies.
So it is not kind of a memory leak that can accumulate with the time and lead to memory loss and server crash.
I ll fixed by tonight.

charfeddineahmed wrote Oct 14, 2014 at 2:23 AM

Fixed in changeset 106810

charfeddineahmed wrote Oct 15, 2014 at 2:11 AM

sorry my previous fix is incorrect. please take changeset 106815