40 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by SAFEARRAY_Malloc (safearray.c:94) by SAFEARRAY_AllocDescriptor (safearray.c:175) by SafeArrayAllocDescriptor (safearray.c:461) by SafeArrayAllocDescriptorEx (safearray.c:500) by SAFEARRAY_Create (safearray.c:215) by SafeArrayCreateEx (safearray.c:610) by LPSAFEARRAY_UserUnmarshal (usrmarshal.c:1065) by test_marshal_LPSAFEARRAY (usrmarshal.c:252) by func_usrmarshal (usrmarshal.c:1510) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:SAFEARRAY_Malloc fun:SAFEARRAY_AllocDescriptor fun:SafeArrayAllocDescriptor fun:SafeArrayAllocDescriptorEx fun:SAFEARRAY_Create fun:SafeArrayCreateEx fun:LPSAFEARRAY_UserUnmarshal fun:test_marshal_LPSAFEARRAY fun:func_usrmarshal fun:run_test fun:main } LEAK SUMMARY: definitely lost: 40 bytes in 1 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 288 bytes in 2 blocks still reachable: 229,759 bytes in 1,958 blocks suppressed: 76,911 bytes in 2,714 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: 3 errors from 3 contexts (suppressed: 307 from 87) used_suppression: 94 todo_suppress_libfontconfig_leak used_suppression: 154 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 wine_bug_20548_ConnectNamedPipe used_suppression: 1 todo_suppress_wine_alloc_module_leak used_suppression: 1 todo_wine_dlls_winex11drv_XOpenDisplay used_suppression: 65 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 203 dl-hack3-cond-1