From e918e155ed1d36522e0c096e43d275f1ebda0515 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 28 Sep 2007 21:56:36 +0000 Subject: [PATCH] remove stray semicolon --- libbb/lineedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 2db85d0d4..26a49a1c3 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -1314,7 +1314,7 @@ int read_line_input(const char* prompt, char* command, int maxsize, line_input_t /* If we enter read_line_input for the Nth time, * they may be already allocated! Need to free. */ free(user_buf); - if (home_pwd_buf != null_str); + if (home_pwd_buf != null_str) free(home_pwd_buf); user_buf = xstrdup(entry->pw_name); home_pwd_buf = xstrdup(entry->pw_dir); -- 2.25.1