diff --git a/src/editfns.c b/src/editfns.c index bff9fa8c35c2..c2c0df9241ba 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -795,7 +795,7 @@ If you want them to stand for years in this century, you must do that yourself." /* Restore TZ to previous value. */ newenv = environ; environ = oldenv; - free (newenv); + xfree (newenv); #ifdef LOCALTIME_CACHE tzset (); #endif