From 72e6cdfa2cd95240439c72705ab28a2eebb7d04e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 19 Mar 2008 06:43:34 +0000 Subject: Remove useless "if" before "free". --- iconv/gconv_conf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'iconv/gconv_conf.c') diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c index 22ffa4f..2023beb 100644 --- a/iconv/gconv_conf.c +++ b/iconv/gconv_conf.c @@ -529,8 +529,7 @@ __gconv_get_path (void) __gconv_path_elem = result ?: (struct path_elem *) &empty_path_elem; - if (cwd != NULL) - free (cwd); + free (cwd); } __libc_lock_unlock (lock); -- cgit v1.1