diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setenv.c b/lib/setenv.c index c09a62d5f..66b6a6427 100644 --- a/lib/setenv.c +++ b/lib/setenv.c @@ -90,7 +90,7 @@ setenv (name, value, replace) new_environ[size] = malloc (namelen + 1 + vallen); if (new_environ[size] == NULL) { - free ((char *) new_environ); + free (new_environ); errno = ENOMEM; return -1; } |