For your information,

a valgrind output, only start and finish windowmaker with some windows + dockapp:


==5027== Memcheck, a memory error detector
==5027== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==5027== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==5027== Command: wmaker
==5027== Parent PID: 4235
==5027==
==5027==
==5027== HEAP SUMMARY:
==5027==     in use at exit: 979 bytes in 20 blocks
==5027==   total heap usage: 48 allocs, 28 frees, 4,616 bytes allocated
==5027==
==5027== 4 bytes in 1 blocks are still reachable in loss record 1 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x42D3A4: main (main.c:620)
==5027==
==5027== 5 bytes in 1 blocks are still reachable in loss record 2 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x42D38B: main (main.c:619)
==5027==
==5027== 5 bytes in 1 blocks are still reachable in loss record 3 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x42D3CB: main (main.c:622)
==5027==
==5027== 6 bytes in 1 blocks are still reachable in loss record 4 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x42D3E4: main (main.c:623)
==5027==
==5027== 7 bytes in 1 blocks are still reachable in loss record 5 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x40B4EA4: WMInitializeApplication (wapplication.c:44)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 9 bytes in 1 blocks are still reachable in loss record 6 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x42D359: main (main.c:617)
==5027==
==5027== 9 bytes in 1 blocks are still reachable in loss record 7 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x42D372: main (main.c:618)
==5027==
==5027== 12 bytes in 1 blocks are still reachable in loss record 8 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B2CF6: wstrdup (string.c:190)
==5027==    by 0x40B4E5B: WMInitializeApplication (wapplication.c:39)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 16 bytes in 1 blocks are still reachable in loss record 9 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40B4E7C: WMInitializeApplication (wapplication.c:42)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 24 bytes in 1 blocks are still reachable in loss record 10 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40AA231: WMCreateArrayWithDestructor (array.c:35)
==5027==    by 0x42D322: main (main.c:612)
==5027==
==5027== 24 bytes in 1 blocks are definitely lost in loss record 11 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x434F3D: MonitorLoop (monitor.c:83)
==5027==    by 0x42D844: main (main.c:648)
==5027==
==5027== 32 bytes in 1 blocks are still reachable in loss record 12 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40AE716: W_InitNotificationCenter (notification.c:89)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 48 bytes in 1 blocks are still reachable in loss record 13 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40ADB2A: WMCreateHashTable (hashtable.c:100)
==5027==    by 0x40AE74E: W_InitNotificationCenter (notification.c:90)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 48 bytes in 1 blocks are still reachable in loss record 14 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40ADB2A: WMCreateHashTable (hashtable.c:100)
==5027==    by 0x40AE786: W_InitNotificationCenter (notification.c:91)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 48 bytes in 1 blocks are still reachable in loss record 15 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40ADB2A: WMCreateHashTable (hashtable.c:100)
==5027==    by 0x40AE7B1: W_InitNotificationCenter (notification.c:93)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 64 bytes in 1 blocks are still reachable in loss record 16 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40AA24E: WMCreateArrayWithDestructor (array.c:41)
==5027==    by 0x42D322: main (main.c:612)
==5027==
==5027== 66 bytes in 1 blocks are still reachable in loss record 17 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x42D814: main (main.c:643)
==5027==
==5027== 184 bytes in 1 blocks are still reachable in loss record 18 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40ADB61: WMCreateHashTable (hashtable.c:106)
==5027==    by 0x40AE74E: W_InitNotificationCenter (notification.c:90)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 184 bytes in 1 blocks are still reachable in loss record 19 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40ADB61: WMCreateHashTable (hashtable.c:106)
==5027==    by 0x40AE786: W_InitNotificationCenter (notification.c:91)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== 184 bytes in 1 blocks are still reachable in loss record 20 of 20
==5027==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
==5027==    by 0x40AE22E: wmalloc (memory.c:80)
==5027==    by 0x40ADB61: WMCreateHashTable (hashtable.c:106)
==5027==    by 0x40AE7B1: W_InitNotificationCenter (notification.c:93)
==5027==    by 0x42D306: main (main.c:608)
==5027==
==5027== LEAK SUMMARY:
==5027==    definitely lost: 24 bytes in 1 blocks
==5027==    indirectly lost: 0 bytes in 0 blocks
==5027==      possibly lost: 0 bytes in 0 blocks
==5027==    still reachable: 955 bytes in 19 blocks
==5027==         suppressed: 0 bytes in 0 blocks
==5027==
==5027== For counts of detected and suppressed errors, rerun with: -v
==5027== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)




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


--
To unsubscribe, send mail to [email protected].
  • valgrind Rodolfo kix Garcia

Reply via email to