* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.

This commit is contained in:
Corinna Vinschen 2006-10-11 08:04:50 +00:00
parent d146860762
commit d95c57921f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-10-11 Corinna Vinschen <corinna@vinschen.de>
* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2006-09-26 Jeff Johnston <jjohnstn@redhat.com> 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h[_REENT_SMALL]: Do not allow macros * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros

View File

@ -69,6 +69,8 @@ _DEFUN (_reclaim_reent, (ptr),
_free_r (ptr, _REENT_MP_FREELIST(ptr)); _free_r (ptr, _REENT_MP_FREELIST(ptr));
} }
if (_REENT_MP_RESULT(ptr))
_free_r (ptr, _REENT_MP_RESULT(ptr));
#ifdef _REENT_SMALL #ifdef _REENT_SMALL
if (ptr->_emergency) if (ptr->_emergency)