diff options
author | sabetts <sabetts> | 2006-03-08 00:33:29 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-03-08 00:33:29 +0000 |
commit | c37b647396a065eb4928257452c785f148bcae50 (patch) | |
tree | 7764a74ae892e2c7b6feb48697a9e80786cf5c30 /src/editor.c | |
parent | 8460497f0ed5ea8a6b7f0029243a26713a36cc47 (diff) | |
download | ratpoison-c37b647396a065eb4928257452c785f148bcae50.zip |
* src/main.c (clean_up): properly free rp_frame_numset
* src/editor.c (editor_enter): free line->buffer before setting it to the history expansion.
* src/completions.c (completions_free): free the rp_completions struct too
* src/actions.c (del_frame_undo): free the rp_frame_undo struct too.
Diffstat (limited to 'src/editor.c')
-rw-r--r-- | src/editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.c b/src/editor.c index 3965464..6aea958 100644 --- a/src/editor.c +++ b/src/editor.c @@ -487,6 +487,7 @@ editor_enter (rp_input_line *line) else /* result == 0 || result == 1 */ { history_add (expansion); + free (line->buffer); line->buffer = expansion; } #endif /* HAVE_HISTORY */ |