Valgrind
Anyone ever used Valgrind?
I was trying to use Electric Fence, but since it seems I don''t have the library on my computer, I set out to find the library. I couldn''t find the library, but instead found Valgrind. The Valgrind folks said its better than efence.
Right now the only use I have for it is finding memory leaks. Some leaks are mysterious (only in SDL, X, other libraries) but lots were in my game. I fixed most of them. Went from about 2.5 MB of leaks to 40 Kb
But what''s up with all those other messages? Discarding syms? Conditional loop depends on uninitialized value?
And according to Valgrind, Gaim leaks over 200 KB!
I like the DARK layout!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement