OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
313 stars 26 forks source link

UnloadSection() has to use aligned_free() instead of free() #104

Closed JayFoxRox closed 6 years ago

JayFoxRox commented 6 years ago

Doesn't matter on most platforms probably, but should still be done properly. Other free() for aligned_malloc() should be checked again too.

JayFoxRox commented 6 years ago

Fixed in referenced commit. Other instances did not exist yet. However, some variables are leaking memory and they should be using aligned_free in the future.