From 56a5857660af150bd3b8ba6df8579a39ce73e084 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 13 May 2003 14:47:15 +0000 Subject: [PATCH] (rpl_putenv): Don't apply cast to argument of free. --- lib/putenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/putenv.c b/lib/putenv.c index 25ff1c08ef..19c648699a 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -146,7 +146,7 @@ rpl_putenv (const char *string) new_environ[size] = (char *) string; new_environ[size + 1] = NULL; if (last_environ != NULL) - free ((void *) last_environ); + free (last_environ); last_environ = new_environ; environ = new_environ; } -- 2.47.2