From 0efe117b5c7a9c50d68a1e791a09bf9c418d096f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 11 Jun 2003 08:44:40 +0000 Subject: [PATCH] Fix typo --- newlib/ChangeLog | 5 +++++ newlib/libc/reent/reent.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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))