[Haskell-cafe] Re[2]: How to automatically free memory allocated by malloc? and how to reliably realloc such buffer?