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 /inet/rcmd.c | |
parent | 354b75277bc86768eafbbf5f590deb27e0a71d89 (diff) | |
download | glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.gz |
Remove useless "if" before "free".
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r-- | inet/rcmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c index 341304acd5..5dcbd25568 100644 --- a/inet/rcmd.c +++ b/inet/rcmd.c @@ -826,8 +826,7 @@ __validuser2_sa(hostf, ra, ralen, luser, ruser, rhost) } } - if (buf != NULL) - free (buf); + free (buf); return retval; } |