Memory: Fix free not working on Linux