Free up allocated memory -- it makes Coverity happier.