diff --git a/offloading-cacher/cache.hpp b/offloading-cacher/cache.hpp index b8d31e3..5ac1b42 100755 --- a/offloading-cacher/cache.hpp +++ b/offloading-cacher/cache.hpp @@ -774,7 +774,7 @@ inline void dsacache::CacheData::WaitOnCompletion() { if (error) { cache_->store(src_); - numa_free(*incomplete_cache_, size_); + memory_free_function_(*incomplete_cache_, size_); delete_ = false; *incomplete_cache_ = nullptr; }