Fix memory leaks in sbitmap.c selftests
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 23 Jan 2018 11:01:55 +0000 (11:01 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 23 Jan 2018 11:01:55 +0000 (11:01 +0000)
commit485cf85403386fa44d9746c7f4f449e03760eb01
tree4d33be01158dab557b1641e06d92ea4b752f81cb
parentef57eeb23260872cb601a848493488c24cb309c1
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.

From-SVN: r256978
gcc/ChangeLog
gcc/sbitmap.c