test: Fix memory leak
travis: Fail the build if any memory is leaked