radix tree test suite: Fix leaks in regression2.c
authorMatthew Wilcox <mawilcox@microsoft.com>
Sun, 29 Jan 2017 06:52:55 +0000 (01:52 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 14 Feb 2017 02:44:07 +0000 (21:44 -0500)
commit6da0396cac7692b6667c09382a746593fff90e6d
treeea53cfb2caa296e7aa62eeff3238f8277cb19877
parent18d0c57394e42ff536e5fdc776b6b217fdd9889c
radix tree test suite: Fix leaks in regression2.c

None of the malloc'ed data structures were ever being freed.  Found with
-fsanitize=address.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Rehas Sachdeva <aquannie@gmail.com>
tools/testing/radix-tree/regression2.c