Plugged a memory leak.

llvm modules were being dropped during static compilation.