mirror of https://gitee.com/bigwinds/arangodb
Should have dereferenced the pointer before adding sth
This commit is contained in:
parent
e0e373fcf1
commit
771a6d5143
|
@ -580,7 +580,7 @@ namespace triagens {
|
|||
// Fill Total
|
||||
*total = 0;
|
||||
for (auto& b : _buckets) {
|
||||
total += b._nrAlloc;
|
||||
*total += b._nrAlloc;
|
||||
}
|
||||
TRI_ASSERT(*total > 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue