Searched refs:linecopy (Results 1 – 1 of 1) sorted by relevance
797 char *linecopy; in linenoiseHistoryAdd() local813 linecopy = strdup(line); in linenoiseHistoryAdd()814 if (!linecopy) return 0; in linenoiseHistoryAdd()820 history[history_len] = linecopy; in linenoiseHistoryAdd()