valgrind will complain about two small memory leaks, even in code that calls ssg_group_destroy and ssg_finalize:
==19398== 53 bytes in 1 blocks are indirectly lost in loss record 7 of 15
==19398== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19398== by 0x5E099B9: strdup (strdup.c:42)
==19398== by 0x50459A7: ssg_group_descriptor_create (ssg.c:989)
==19398== by 0x50462B9: ssg_group_create (ssg.c:153)
==19398== by 0x5046DEA: ssg_group_create_mpi (ssg.c:391)
==19398== by 0x109072: main (ssg-test-simple.c:133)
==19398== 85 (32 direct, 53 indirect) bytes in 1 blocks are definitely lost in loss record 10 of 15
==19398== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19398== by 0x504598C: ssg_group_descriptor_create (ssg.c:983)
==19398== by 0x50462B9: ssg_group_create (ssg.c:153)
==19398== by 0x5046DEA: ssg_group_create_mpi (ssg.c:391)
==19398== by 0x109072: main (ssg-test-simple.c:133)
In GitLab by @roblatham00 on May 9, 2019, 13:05
valgrind will complain about two small memory leaks, even in code that calls
ssg_group_destroy
andssg_finalize
: