1
0
Fork 0

Should have dereferenced the pointer before adding sth

This commit is contained in:
Michael Hackstein 2015-08-27 17:26:01 +02:00
parent e0e373fcf1
commit 771a6d5143
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ namespace triagens {
// Fill Total
*total = 0;
for (auto& b : _buckets) {
total += b._nrAlloc;
*total += b._nrAlloc;
}
TRI_ASSERT(*total > 0);
}