Clean up this testcase a lot by fixing indentation, spacing, fixing a few memory leaks, and the cleanup
 prototype.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
2 files changed