El 01.06.2012 15:38, Carlos R. Mafra escribió:
On Fri,  1 Jun 2012 at 14:27:13 +0200, Rodolfo kix Garcia wrote:
Hi,

there is a function to remove the information created by
WMInitializeApplication? Something like "WMDestroyApplication".


==4316== 16 bytes in 1 blocks are still reachable in loss record 9
of 20
==4316==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==4316==    by 0x40AE22E: wmalloc (memory.c:80)
==4316== by 0x40B4E7C: WMInitializeApplication (wapplication.c:42)
==4316==    by 0x42D306: main (main.c:608)

The struct should be "wfreeded" before finish windowmaker.

Note that if something is not free()'ed only when terminating wmaker,
this is not a problem. The kernel will free that memory.

Yes :-) but is because is still reachable? there are other leaks not reachable.

IMO the correct way is free the memory used.

--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/


--
To unsubscribe, send mail to [email protected].

Reply via email to