Minor refactoring of free
This commit is contained in:
parent
5c5bfe1959
commit
411e81b614
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ extern "C" {
|
||||||
std::clog << "attempting to free";
|
std::clog << "attempting to free";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!SC_AM_Internal::stats->do_free(ptr)) {
|
// TODO maybe handle boolean result, but already prints warnings on error.
|
||||||
std::clog << std::endl;
|
SC_AM_Internal::stats->do_free(ptr);
|
||||||
}
|
std::clog << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue