Commit 0ff2d46d2b0cc073316a3949fe131cdb76239299

Authored by Imanol-Mikel Barba Sabariego
1 parent 8c10201c

Fixed check_memfree for linux, not reporting true free memory.

check_memfree/check_memfree.cpp 100644 → 100755
@@ -111,8 +111,9 @@ int main(int argc, char **argv) @@ -111,8 +111,9 @@ int main(int argc, char **argv)
111 111
112 totalMem = getNum(&meminfo); 112 totalMem = getNum(&meminfo);
113 freeMem += getNum(&meminfo); 113 freeMem += getNum(&meminfo);
  114 + getNum(&meminfo);
114 freeMem += getNum(&meminfo); 115 freeMem += getNum(&meminfo);
115 - freeMem += getNum(&meminfo); 116 + freeMem += getNum(&meminfo);
116 117
117 meminfo.close(); 118 meminfo.close();
118 119