git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@38777 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-07-09 12:24:06 +00:00
parent fe97dcd59d
commit 1c4ee7d9b9

View file

@ -3337,19 +3337,22 @@ With two parameters ('maximum' and a number),\n\
}
else
{
const char* list;
const char *list;
NSDate *now;
now = [NSDate date];
list = (const char*)GSDebugAllocationList(YES);
if (nil == memStats)
{
[self cmdPrintf: @"Memory change stats at %@:\n%s",
[NSDate date], list];
now, list];
}
else
{
[self cmdPrintf: @"Memory change stats at %@ (since %@):\n%s",
[NSDate date], memStats, list];
now, memStats, list];
}
ASSIGN(memStats, now);
}
}
}