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". --- inet/rcmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inet') diff --git a/inet/rcmd.c b/inet/rcmd.c index 341304a..5dcbd25 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; } -- cgit v1.1