diff --git a/offloading-cacher/cache.hpp b/offloading-cacher/cache.hpp index a8186e4..c461f2f 100644 --- a/offloading-cacher/cache.hpp +++ b/offloading-cacher/cache.hpp @@ -692,7 +692,7 @@ inline void dsacache::CacheData::WaitOnCompletion() { // handle errors now by aborting the cache if (error) { - cache_->store(nullptr); + cache_->store(src_); numa_free(incomplete_cache_, size_); } else {