Stop leaking memory

Closed username-removed-1354299 requested to merge NHOrus/open-adventure:input_leak into master

Before this, each allocated input string was left with no owner per each inputted newline. Now instead of kilobytes we should not leak anything.