diff --git a/src/another_memcheck_external.cc b/src/another_memcheck_external.cc index c756352..205d154 100644 --- a/src/another_memcheck_external.cc +++ b/src/another_memcheck_external.cc @@ -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; } }