Warning: invalid file descriptor 73146408 in syscall close() Warning: invalid file descriptor 73146808 in syscall close() Warning: invalid file descriptor 72043480 in syscall close() Warning: invalid file descriptor 72046488 in syscall close() HEAP SUMMARY: in use at exit: 7,572,128 bytes in 6,451 blocks total heap usage: 41,338 allocs, 34,887 frees, 1,628,068,621 bytes allocated 1 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by strndup (in /lib/tls/i686/cmov/libc-2.10.1.so) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc fun:strndup obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:calloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:calloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:calloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 4 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 8 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by realloc (vg_replace_malloc.c:525) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? { Memcheck:Leak fun:malloc fun:realloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* } 8 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 11 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by strdup (in /lib/tls/i686/cmov/libc-2.10.1.so) by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc fun:strdup obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 16 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 17 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by strndup (in /lib/tls/i686/cmov/libc-2.10.1.so) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc fun:strndup obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 20 bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? { Memcheck:Leak fun:calloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* } 20 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by strndup (in /lib/tls/i686/cmov/libc-2.10.1.so) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc fun:strndup obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 23 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by strndup (in /lib/tls/i686/cmov/libc-2.10.1.so) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc fun:strndup obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 36 (12 direct, 24 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources } 42 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm } 47 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by strndup (in /lib/tls/i686/cmov/libc-2.10.1.so) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc fun:strndup obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 57 (40 direct, 17 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 68 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? (loader.c:137) by MODULE_InitDLL (loader.c:982) by process_attach (loader.c:1071) by LdrLoadDll (loader.c:2027) by load_library (module.c:877) by LoadLibraryExW (module.c:934) by LoadLibraryExA (module.c:914) by LoadLibraryA (module.c:966) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:/home/dank/wine-git/dlls/ntdll/ntdll.dll.so fun:MODULE_InitDLL fun:process_attach fun:LdrLoadDll fun:load_library fun:LoadLibraryExW fun:LoadLibraryExA fun:LoadLibraryA obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test } 73 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources } 73 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm } 80 bytes in 1 blocks are definitely lost at realloc (vg_replace_malloc.c:525) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? { Memcheck:Leak fun:realloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* } 92 (68 direct, 24 indirect) bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) { Memcheck:Leak fun:calloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources } 140 (28 direct, 112 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity } 160 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1700) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:notify_alloc fun:RtlAllocateHeap obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 216 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 240 (176 direct, 64 indirect) bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) { Memcheck:Leak fun:calloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm } 311 (80 direct, 231 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* } 364 (28 direct, 336 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity } 504 (28 direct, 476 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity } 664 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* } 664 bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* } 957 (952 direct, 5 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 2,940 (44 direct, 2,896 indirect) bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? { Memcheck:Leak fun:calloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* } 5,292 (5,076 direct, 216 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 9,828 (24 direct, 9,804 indirect) bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? { Memcheck:Leak fun:calloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* } 11,568 (8 direct, 11,560 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 12,516 (12,256 direct, 260 indirect) bytes in 1 blocks are definitely lost at calloc (vg_replace_malloc.c:467) by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:calloc obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } 42,629 (4,120 direct, 38,509 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test } 66,197 (66,192 direct, 5 indirect) bytes in 1 blocks are definitely lost at malloc (vg_replace_malloc.c:236) by ??? by ??? by ??? by ??? by ??? by detect_sane_devices (sane_main.c:434) by SANE_GetIdentity (sane_main.c:442) by SANE_SourceControlHandler (sane_main.c:159) by DS_Entry (sane_main.c:377) by ??? by ??? by ??? by ??? by ??? by test_sources (dsm.c:763) by func_dsm (dsm.c:865) by run_test (test.h:541) by main (test.h:591) { Memcheck:Leak fun:malloc obj:* obj:* obj:* obj:* obj:* fun:detect_sane_devices fun:SANE_GetIdentity fun:SANE_SourceControlHandler fun:DS_Entry obj:* obj:* obj:* obj:* obj:* fun:test_sources fun:func_dsm fun:run_test fun:main } LEAK SUMMARY: definitely lost: 91,407 bytes in 51 blocks indirectly lost: 64,659 bytes in 286 blocks possibly lost: 7,023,861 bytes in 4 blocks still reachable: 308,447 bytes in 3,285 blocks suppressed: 83,754 bytes in 2,825 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: 54 errors from 54 contexts (suppressed: 1751 from 134) used_suppression: 94 todo_suppress_libfontconfig_leak used_suppression: 166 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: 827 glibc-2.10-on-SUSE-10.3-(x86) used_suppression: 98 dl-hack3-cond-4 used_suppression: 687 dl-hack3-cond-1 used_suppression: 2 dl-hack3-cond-2 used_suppression: 3 X on SUSE11 writev uninit padding 2 used_suppression: 96 bogus_Xcursor