Trial: Improve memory handling ...

@sa2ajj: Because of that trailing '\n', that bug was discovered. But in no way, a trailing '\n' is needed.