Re: memory leak on windows



On Fri, 2 Mar 2012, Gaetano Guerriero wrote:

this code leaks memory on Windows XP until the program crashes after some
minutes [...]

Well, using GTK 2.24.9 on Linux the program runs cleanly (no leaks) as verified by valgrind, after a minor modification to make it close down properly when the main window is destroyed. (Modified code attached.)

--
Allin Cottrell
Department of Economics
Wake Forest University, NC

Attachment: pulse.c
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]