llvm-c-test: Don't leak memory buffers.

Detected by valgrind.