The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL + Visual Leak Detector
Naith


Joined: 03 Jul 2014
Posts: 158
Hi there,

I am using a library called Visual Leak Detector (https://vld.codeplex.com/) to track memory leaks in my programs/games made with SDL. Unfortunately, in SDL version 2.0.4 and 2.0.5 VLD doesn't work and isn't detecting any memory leak, even if I force a memory leak. Since I really like the VLD library, I am using SDL version 2.0.3, where it works like a charm.
Now I want to start using the newest version, 2.0.5, but if I do, VLD won't work correctly. I have no idea what the difference is between 2.0.3 and 2.0.4/5 when it comes to detecting memory leaks but hopefully that's something that can be fixed in the next version of SDL.

Is anyone here using VLD and have any ideas about what's causing VLD to fail detecting leaks and maybe a possible solution the the problem?
I rather not change into another memory leak detection software/library since I like VLD much.