memory leak in repart_edge_metis src/partition.c:1635
Stumbled upon this today when debugging my own bugs. Sanitizer detects a memory leak in
Here's my sanitizer output:
Direct leak of 2916 byte(s) in 1 object(s) allocated from:
#0 0x7f28738bf91f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x55a6bfad779a in repart_edge_metis /home/mivkov/EPFL/rt/swiftsim/src/partition.c:1635
#2 0x55a6bfadae0b in partition_repartition /home/mivkov/EPFL/rt/swiftsim/src/partition.c:1873
#3 0x55a6bf997913 in engine_repartition /home/mivkov/EPFL/rt/swiftsim/src/engine.c:213
#4 0x55a6bf9a0053 in engine_prepare /home/mivkov/EPFL/rt/swiftsim/src/engine.c:1454
#5 0x55a6bf9a9d5f in engine_step /home/mivkov/EPFL/rt/swiftsim/src/engine.c:2564
#6 0x55a6bf91a81d in main /home/mivkov/EPFL/rt/swiftsim/swift.c:1723
#7 0x7f2871a29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58