fixed small memleak in linenoise editor