tests: release memory before error exits.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sun, 4 Dec 2011 23:18:21 +0000 (21:18 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 5 Dec 2011 03:45:21 +0000 (01:45 -0200)
commit8226058343ac9634b9af0999c9fce84dc71e1bb9
tree8aeb7b7393f42ea913d6b136514055c02851fa46
parent69f9dd4369ec9945b3ca3f4aea800fdb027f47da
tests: release memory before error exits.

this makes it easier to valgrind the error cases as well.
test/test-insmod.c
test/test-lookup.c
test/test-rmmod.c
test/test-rmmod2.c