OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40622a9
)
* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
author
corinna
<corinna>
Wed, 11 Oct 2006 08:04:49 +0000
(08:04 +0000)
committer
corinna
<corinna>
Wed, 11 Oct 2006 08:04:49 +0000
(08:04 +0000)
newlib/ChangeLog
patch
|
blob
|
history
newlib/libc/reent/reent.c
patch
|
blob
|
history
diff --git
a/newlib/ChangeLog
b/newlib/ChangeLog
index
bd63a90
..
0216110
100644
(file)
--- a/
newlib/ChangeLog
+++ b/
newlib/ChangeLog
@@
-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>
* libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
diff --git
a/newlib/libc/reent/reent.c
b/newlib/libc/reent/reent.c
index
ddf6a82
..
5270ef6
100644
(file)
--- a/
newlib/libc/reent/reent.c
+++ b/
newlib/libc/reent/reent.c
@@
-69,6
+69,8
@@
_DEFUN (_reclaim_reent, (ptr),
_free_r (ptr, _REENT_MP_FREELIST(ptr));
}
+ if (_REENT_MP_RESULT(ptr))
+ _free_r (ptr, _REENT_MP_RESULT(ptr));
#ifdef _REENT_SMALL
if (ptr->_emergency)