diff --git a/src/console_line.c b/src/console_line.c index 49301b2..4207cfb 100644 --- a/src/console_line.c +++ b/src/console_line.c @@ -78,6 +78,7 @@ void print_input_line() { char *hostname = get_hostname(); char *cwd = get_working_directory(); printf(BRIGHT_CYAN "%s" MAGENTA "@" RED "%s" MAGENTA ":" BLUE "%s" MAGENTA "$ " RESET, username, hostname, cwd); + free(hostname); free(cwd); }