Fix memory leaks in sbitmap.c selftests
commitffb6710c4e8e0fbea9df787a2078e9fb6493d879
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2018 11:01:55 +0000 (23 11:01 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2018 11:01:55 +0000 (23 11:01 +0000)
tree4d33be01158dab557b1641e06d92ea4b752f81cb
parent9e37791255c0b79aab52cc3b5c76fc5b6aedf07a
Fix memory leaks in sbitmap.c selftests

"make selftest-valgrind" shows a few leaks in sbitmap.c's selftests;
this patch fixes them.

gcc/ChangeLog:
* sbitmap.c (selftest::test_set_range): Fix memory leaks.
(selftest::test_bit_in_range): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256978 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/sbitmap.c