[Haskell-beginners] help with FFI: passing char* to dll function + pointer freeing