16 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by HeapAlloc (heap.c:276) by GlobalAlloc (heap.c:369) by LocalAlloc (heap.c:969) by Alloc (comctl32undoc.c:74) by SetWindowSubclass (commctrl.c:1122) by test_subclass (subclass.c:236) by func_subclass (subclass.c:303) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:HeapAlloc fun:GlobalAlloc fun:LocalAlloc fun:Alloc fun:SetWindowSubclass fun:test_subclass fun:func_subclass fun:run_test fun:main } LEAK SUMMARY: definitely lost: 16 bytes in 1 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 0 bytes in 0 blocks still reachable: 233,005 bytes in 2,110 blocks suppressed: 83,262 bytes in 2,821 blocks Reachable blocks (those to which a pointer was found) are not shown. To see them, rerun with: --leak-check=full --show-reachable=yes For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 411 from 88) used_suppression: 94 todo_suppress_libfontconfig_leak used_suppression: 160 todo_suppress_dlopen_leak used_suppression: 1 suppress_nss_leak used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XRender_Init used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XComposite_Init used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XRandR_Init used_suppression: 2 todo_wine_dlls_winex11drv__X11DRV_XF86VM_Init used_suppression: 4 todo_wine_dlls_winex11drv__xinerama_init used_suppression: 2 todo_wine_dlls_winex11drv__XkbUseExtension used_suppression: 1 user32_builtin_classes_leak used_suppression: 1 todo_suppress_wine_init_load_order_leak used_suppression: 1 todo_suppress_wine_alloc_module_leak used_suppression: 1 todo_wine_dlls_winex11drv_XOpenDisplay used_suppression: 3 X on SUSE11 writev uninit padding 2 used_suppression: 96 bogus_Xcursor used_suppression: 68 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 206 dl-hack3-cond-1