mirror of
https://github.com/fluencelabs/redis
synced 2025-07-04 19:31:35 +00:00
redis-cli: don't free historyfile, is used later.
This commit is contained in:
@ -986,6 +986,7 @@ static void repl(void) {
|
||||
if (line[0] != '\0') {
|
||||
argv = sdssplitargs(line,&argc);
|
||||
if (history) linenoiseHistoryAdd(line);
|
||||
printf("HISTORY: %s\n", historyfile);
|
||||
if (historyfile) linenoiseHistorySave(historyfile);
|
||||
|
||||
if (argv == NULL) {
|
||||
|
Reference in New Issue
Block a user