diff --git a/src/allocator.cpp b/src/allocator.cpp index b48a54307..d8a68edd3 100644 --- a/src/allocator.cpp +++ b/src/allocator.cpp @@ -56,7 +56,7 @@ namespace libtorrent #ifdef TORRENT_WINDOWS VirtualFree(block, 0, MEM_RELEASE); #else - free(block); + ::free(block); #endif }