(input_destroy): optimization: don't do useless actions.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2011-07-08 12:41:47 +04:00
parent de5fac8d0a
commit 630bcae4d4
1 changed files with 1 additions and 1 deletions

View File

@ -866,7 +866,7 @@ input_destroy (WInput * in)
exit (EXIT_FAILURE);
}
input_clean (in);
input_free_completions (in);
/* clean history */
if (in->history != NULL)