[cpp] Fix up debug output.

This commit is contained in:
Mario Zechner 2022-08-25 11:45:47 +02:00
parent a986469e07
commit ac03e51d0b

View File

@ -62,7 +62,7 @@ namespace spine {
it->second.address);
}
printf("allocations: %zu, reallocations: %zu, frees: %zu\n", _allocations, _reallocations, _frees);
if (_allocated.empty()) printf("No leaks detected");
if (_allocated.empty()) printf("No leaks detected\n");
}
void clearAllocations() {