Searched refs:linecopy (Results 1 – 1 of 1) sorted by relevance
412 char *linecopy; in linenoiseHistoryAdd() local420 linecopy = strdup(line); in linenoiseHistoryAdd()421 if (!linecopy) return 0; in linenoiseHistoryAdd()426 history[history_len] = linecopy; in linenoiseHistoryAdd()