Fix memory leak for multilined text objects

This changes fix https://github.com/garrynewman/GWEN/issues/16 and https://github.com/garrynewman/GWEN/issues/19