Still occurs ( c0d13df8537eade30e4781f2887caa808bbea440 ).
The memleak happens while cutting a single obstacle (the more you cut, the
bigger the leak).
updated stacktrace:
Direct leak of 48 byte(s) in 2 object(s) allocated from:
#0 0x4c36a1 in __interceptor_calloc
/home/matthias/LLVM/LLVM_pure/stage_2/llvm/projects/compiler-
rt/lib/asan/asan_malloc_linux.cc:66:3
#1 0x69cee5 in MyMalloc
/home/matthias/vcs/git/freedroid/src/text_public.c:68:14
#2 0x71ab4a in level_editor_copy_selection
/home/matthias/vcs/git/freedroid/src/lvledit/lvledit_tool_select.c:992:8
#3 0x722678 in level_editor_cut_selection
/home/matthias/vcs/git/freedroid/src/lvledit/lvledit_tool_select.c:1189:2
#4 0x5e6496 in input_key
/home/matthias/vcs/git/freedroid/src/keyboard.c:749:4
#5 0x5e37ce in input_key_event
/home/matthias/vcs/git/freedroid/src/keyboard.c:806:21
#6 0x5e37ce in input_key_press
/home/matthias/vcs/git/freedroid/src/keyboard.c:823
#7 0x5bf9a3 in input_handle
/home/matthias/vcs/git/freedroid/src/input.c:119:4
#8 0x6fdb96 in leveleditor_process_input
/home/matthias/vcs/git/freedroid/src/lvledit/lvledit_input.c:186:2
#9 0x6e1e47 in LevelEditor
/home/matthias/vcs/git/freedroid/src/lvledit/lvledit.c:282:3
#10 0x60fc02 in main /home/matthias/vcs/git/freedroid/src/main.c:183:4
#11 0x7f627040d57f in __libc_start_main (/lib64/libc.so.6+0x2057f) |