This commit is contained in:
Nick Clifton 2003-06-11 08:44:40 +00:00
parent 7e9ae1908d
commit 0efe117b5c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-11 Nick Clifton <nickc@redhat.com>
* libc/reent/reent.c (reclaim_reent): Fix typo in code to free
_on_exit_args_ptr.
2003-06-10 Stan Cox <scox@redhat.com>
Anthony Green <green@redhat.com>

View File

@ -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))