Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Free the test nodemasks after each test. Fixes the following valgrind warnings: 128 bytes in 1 blocks are indirectly lost in loss record 10 of 20 at 0x4C2A975: calloc (vg_replace_malloc.c:711) by 0x4E37E84: numa_bitmask_alloc (libnuma.c:214) by 0x402CEB: test (in /home/sansharm/src/numactl/.libs/numademo) by 0x401661: main (in /home/sansharm/src/numactl/.libs/numademo) 144 (16 direct, 128 indirect) bytes in 1 blocks are definitely lost in loss record 11 of 20 at 0x4C28BE3: malloc (vg_replace_malloc.c:299) by 0x4E37E65: numa_bitmask_alloc (libnuma.c:210) by 0x402A07: test (in /home/sansharm/src/numactl/.libs/numademo) by 0x401612: main (in /home/sansharm/src/numactl/.libs/numademo) Signed-off-by:Sanskriti Sharma <sansharm@redhat.com>
- Loading branch information