diff --git a/cpp/include/kvikio/stream.hpp b/cpp/include/kvikio/stream.hpp index 8b2f6f2b70..6b573fcb06 100644 --- a/cpp/include/kvikio/stream.hpp +++ b/cpp/include/kvikio/stream.hpp @@ -150,7 +150,7 @@ class StreamFuture { } catch (const kvikio::CUfileException& e) { std::cerr << e.what() << std::endl; } - free(_val); + std::free(_val); } } };