Removing a superfluous free.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5585 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
eed1aab3f0
commit
53c8ada24b
|
@ -5,6 +5,7 @@
|
||||||
* src/winio.c (edit_redraw): Condense by removing a triplication.
|
* src/winio.c (edit_redraw): Condense by removing a triplication.
|
||||||
* src/prompt.c (do_statusbar_prev_word, do_statusbar_next_word):
|
* src/prompt.c (do_statusbar_prev_word, do_statusbar_next_word):
|
||||||
Chop an always-FALSE parameter and delete an unused return value.
|
Chop an always-FALSE parameter and delete an unused return value.
|
||||||
|
* src/prompt.c (do_prompt): Remove a superfluous free.
|
||||||
|
|
||||||
2016-01-22 Benno Schulenberg <bensberg@justemail.net>
|
2016-01-22 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/utils.c (get_homedir): Don't use $HOME when we're root, because
|
* src/utils.c (get_homedir): Don't use $HOME when we're root, because
|
||||||
|
|
|
@ -926,10 +926,6 @@ int do_prompt(bool allow_tabs,
|
||||||
bool list = FALSE;
|
bool list = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* prompt has been freed and set to NULL unless the user resized
|
|
||||||
* while at the statusbar prompt. */
|
|
||||||
free(prompt);
|
|
||||||
|
|
||||||
prompt = charalloc(((COLS - 4) * mb_cur_max()) + 1);
|
prompt = charalloc(((COLS - 4) * mb_cur_max()) + 1);
|
||||||
|
|
||||||
bottombars(menu);
|
bottombars(menu);
|
||||||
|
|
Loading…
Reference in New Issue