diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-11-23 19:13:32 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-11-23 19:13:32 -0500 |
commit | fc06b0af27b485addc67a148e5e5ca061c2efdb6 (patch) | |
tree | 4a4a7901cb25c21c3d73423584b6fbc90f3fe9fa /misc.c | |
parent | bcd7f75a2bc2f7c67c9cd6899ff546afa45cbba4 (diff) | |
download | readline-fc06b0af27b485addc67a148e5e5ca061c2efdb6.tar.gz |
Readline-5.0.005 import
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -276,12 +276,6 @@ rl_maybe_save_line () _rl_saved_line_for_history->line = savestring (rl_line_buffer); _rl_saved_line_for_history->data = (char *)rl_undo_list; } - else if (STREQ (rl_line_buffer, _rl_saved_line_for_history->line) == 0) - { - free (_rl_saved_line_for_history->line); - _rl_saved_line_for_history->line = savestring (rl_line_buffer); - _rl_saved_line_for_history->data = (char *)rl_undo_list; /* XXX possible memleak */ - } return 0; } |