Kod: Markera allt
[code]
==62693== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==62693== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==62693== Command: ./tideq
==62693==
==62693== Invalid read of size 8
==62693== at 0x10FA55: pointer_button_handler (edwlmain.c:522)
==62693== by 0x4B67F79: ??? (in /usr/lib/x86_64-linux-gnu/libffi.so.8.1.2)
==62693== by 0x4B6740D: ??? (in /usr/lib/x86_64-linux-gnu/libffi.so.8.1.2)
==62693== by 0x4B67B0C: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.8.1.2)
==62693== by 0x4865760: ??? (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x4861AA9: ??? (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x486341B: wl_display_dispatch_queue_pending (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x486396E: wl_display_roundtrip_queue (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x10FF1F: main (edwlmain.c:1741)
==62693== Address 0x4dea760 is 64 bytes inside a block of size 96 free'd
==62693== at 0x484317B: free (vg_replace_malloc.c:872)
==62693== by 0x10F38C: deinitWin (edwlmain.c:1180)
==62693== by 0x10FF13: main (edwlmain.c:1740)
==62693== Block was alloc'd at
==62693== at 0x48407B4: malloc (vg_replace_malloc.c:381)
==62693== by 0x10EE15: setupWin (edwlmain.c:1066)
==62693== by 0x10FE25: main (edwlmain.c:1497)
==62693==
==62693==
==62693== HEAP SUMMARY:
==62693== in use at exit: 240 bytes in 3 blocks
==62693== total heap usage: 12,156 allocs, 12,153 frees, 4,201,227 bytes allocated
==62693==
==62693== 80 bytes in 1 blocks are still reachable in loss record 1 of 3
==62693== at 0x48455EF: calloc (vg_replace_malloc.c:1328)
==62693== by 0x48615F3: ??? (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x4861FD0: wl_proxy_marshal_array_flags (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x48622BD: wl_proxy_marshal_flags (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x10DE2E: wl_registry_bind (wayland-client-protocol.h:1177)
==62693== by 0x10E48B: registry_set (edwlmain.c:399)
==62693== by 0x4B67F79: ??? (in /usr/lib/x86_64-linux-gnu/libffi.so.8.1.2)
==62693== by 0x4B6740D: ??? (in /usr/lib/x86_64-linux-gnu/libffi.so.8.1.2)
==62693== by 0x4B67B0C: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.8.1.2)
==62693== by 0x4865760: ??? (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x4861AA9: ??? (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x486341B: wl_display_dispatch_queue_pending (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693==
==62693== 80 bytes in 1 blocks are still reachable in loss record 2 of 3
==62693== at 0x48455EF: calloc (vg_replace_malloc.c:1328)
==62693== by 0x48615F3: ??? (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x4861FD0: wl_proxy_marshal_array_flags (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x48622BD: wl_proxy_marshal_flags (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x10DC56: wl_shm_pool_create_buffer (wayland-client-protocol.h:1373)
==62693== by 0x10EC27: wlSetup (edwlmain.c:1004)
==62693== by 0x10FD97: main (edwlmain.c:1463)
==62693==
==62693== 80 bytes in 1 blocks are still reachable in loss record 3 of 3
==62693== at 0x48455EF: calloc (vg_replace_malloc.c:1328)
==62693== by 0x4862FC4: wl_display_read_events (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x4863698: wl_display_dispatch_queue (in /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0)
==62693== by 0x12A43A: handle_display_data (edwlkb.c:106)
==62693== by 0x12A654: eventLoop (edwlkb.c:192)
==62693== by 0x10FEF5: main (edwlmain.c:1731)
==62693==
==62693== LEAK SUMMARY:
==62693== definitely lost: 0 bytes in 0 blocks
==62693== indirectly lost: 0 bytes in 0 blocks
==62693== possibly lost: 0 bytes in 0 blocks
==62693== still reachable: 240 bytes in 3 blocks
==62693== suppressed: 0 bytes in 0 blocks
==62693==
==62693== For lists of detected and suppressed errors, rerun with: -s
==62693== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
[/code]