diff --git a/newlib/ChangeLog b/newlib/ChangeLog index dabd5d7c4..91c65b19f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-06-11 Nick Clifton + + * libc/reent/reent.c (reclaim_reent): Fix typo in code to free + _on_exit_args_ptr. + 2003-06-10 Stan Cox Anthony Green diff --git a/newlib/libc/reent/reent.c b/newlib/libc/reent/reent.c index 3ce02dcf2..1903e4261 100644 --- a/newlib/libc/reent/reent.c +++ b/newlib/libc/reent/reent.c @@ -82,7 +82,7 @@ _DEFUN (_reclaim_reent, (ptr), if (ptr->_asctime_buf) _free_r (ptr, ptr->_asctime_buf); if (ptr->_atexit._on_exit_args_ptr) - _free_r (ptr->_atexit._on_exit_args_ptr); + _free_r (ptr, ptr->_atexit._on_exit_args_ptr); #else /* atexit stuff */ if ((ptr->_atexit) && (ptr->_atexit != &ptr->_atexit0))