Revision: 33010
http://sourceforge.net/p/opalvoip/code/33010
Author: rjongbloed
Date: 2014-10-20 15:20:35 +0000 (Mon, 20 Oct 2014)
Log Message:
-----------
Fixed incorrect frred blocks in glibc PProcess::GetMemoryUsage
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
Modified: ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2014-10-20 14:26:24 UTC (rev 33009)
+++ ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2014-10-20 15:20:35 UTC (rev 33010)
@@ -1116,7 +1116,7 @@
struct mallinfo info = mallinfo();
usage.m_malloc = info.uordblks;
usage.m_blocks = info.hblks;
- usage.m_freed = info.uordblks;
+ usage.m_freed = info.fordblks;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|