00da7db1e3
In 432da18e a dynamic buffer was replaced by a static one but some
frees were accidently left there which caused some segfaults.