Open MrWeast opened 1 month ago
Out of curiosity, does this happen with SDL3?
I'm not sure. I haven't tried SDL3. My understanding is that an official stable release hasn't come out yet for SDL3 so I was waiting on that before trying out SDL3.
SDL2 built under WSL2, is similar to building SDL2 on Linux. So aren't leaks from 3rd party libraries expected? Most/all leaks are from libdecor, gtk and dbus.
Using these suppressions with valgrind:
{ wsl2 Memcheck:Leak ... obj:/usr/lib/wsl/drivers/* ... }
{ valgrind_leaks Memcheck:Leak ... obj:/usr/libexec/valgrind/* ... }
Will suppress all of the memory leaks:
Using very basic program of:![image](https://github.com/libsdl-org/SDL/assets/67441952/e1db4c56-e4f8-4256-8bd7-66abe976cfe0)
I get a pretty substantial memory leak:![image](https://github.com/libsdl-org/SDL/assets/67441952/56fd3973-e692-4709-905f-8b2e3f243796)