parent
cf21c26bbb
commit
9ea25be25f
1 changed files with 3 additions and 3 deletions
|
@ -70,10 +70,10 @@ extern "C" {
|
|||
std::clog << "attempting to free";
|
||||
}
|
||||
|
||||
// TODO maybe handle boolean result, but already prints warnings on error.
|
||||
SC_AM_Internal::stats->do_free(ptr);
|
||||
if (!SC_AM_Internal::stats->do_free(ptr)) {
|
||||
std::clog << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// vim: et sw=2 ts=2 sts=2
|
||||
|
|
Loading…
Reference in a new issue