Minor refactoring of free

This commit is contained in:
Stephen Seo 2024-11-14 13:40:59 +09:00
parent 5c5bfe1959
commit 411e81b614

View file

@ -70,9 +70,9 @@ extern "C" {
std::clog << "attempting to free";
}
if (!SC_AM_Internal::stats->do_free(ptr)) {
std::clog << std::endl;
}
// TODO maybe handle boolean result, but already prints warnings on error.
SC_AM_Internal::stats->do_free(ptr);
std::clog << std::endl;
}
}