diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-03-19 06:43:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-03-19 06:43:34 +0000 |
commit | 72e6cdfa2cd95240439c72705ab28a2eebb7d04e (patch) | |
tree | ae830b7817948dc795cc92ec98216c478dde57e3 /iconv/gconv_conf.c | |
parent | 354b75277bc86768eafbbf5f590deb27e0a71d89 (diff) | |
download | glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.zip glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.gz glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.bz2 |
Remove useless "if" before "free".
Diffstat (limited to 'iconv/gconv_conf.c')
-rw-r--r-- | iconv/gconv_conf.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |