#if HAVE_READLINE && unix
if (history_file != NULL)
write_history (history_file);
+ clear_history ();
+ free (history_file);
#endif
}
#endif
}
-#ifdef HAVE_READLINE
+#if HAVE_READLINE
static char *command_generator (const char *text, int state);
/* Returns a set of command name completions for TEXT.