clang warning; forgotten free()