Fix a silly memory leak
Merge branch 'scrollback-autosave'