Invalid read of size 4 at DIALOG_DoDialogBox (dialog.c:817) by DialogBoxParamA (dialog.c:846) by test_DialogBoxParamA (dialog.c:979) by func_dialog (dialog.c:1220) by run_test (test.h:541) by main (test.h:591) Address 0x7f005718 is not stack'd, malloc'd or (recently) free'd { Memcheck:Addr4 fun:DIALOG_DoDialogBox fun:DialogBoxParamA fun:test_DialogBoxParamA fun:func_dialog fun:run_test fun:main } HEAP SUMMARY: in use at exit: 445,087 bytes in 5,428 blocks total heap usage: 31,661 allocs, 26,233 frees, 6,568,398 bytes allocated 28 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by DIALOG_get_info (defdlg.c:335) by DefDlgProcA (defdlg.c:362) by WM_NEXTDLGCTLTest (dialog.c:600) by func_dialog (dialog.c:1217) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap fun:DIALOG_get_info fun:DefDlgProcA fun:WM_NEXTDLGCTLTest fun:func_dialog fun:run_test fun:main } LEAK SUMMARY: definitely lost: 28 bytes in 1 blocks indirectly lost: 120 bytes in 10 blocks possibly lost: 0 bytes in 0 blocks still reachable: 364,204 bytes in 2,559 blocks suppressed: 80,735 bytes in 2,858 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: 2 errors from 2 contexts (suppressed: 330 from 92) used_suppression: 94 todo_suppress_libfontconfig_leak used_suppression: 143 todo_suppress_dlopen_leak used_suppression: 6 wine_bug_20692_wontfix 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: 4 todo_wine_dlls_winex11drv__XkbUseExtension used_suppression: 1 user32_builtin_classes_leak used_suppression: 1 todo_wine_dlls_winex11drv__x11drv_init_thread_data_main used_suppression: 1 todo_suppress_wine_init_load_order_leak used_suppression: 1 todo_suppress_wine_alloc_module_leak used_suppression: 2 todo_wine_dlls_winex11drv_XOpenDisplay used_suppression: 2 expected_use_after_free_user32_tests_dialog used_suppression: 3 X on SUSE11 writev uninit padding 2 used_suppression: 39 bogus_Xcursor used_suppression: 55 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 191 dl-hack3-cond-1