mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
* cmalloc.cc (_cmalloc): Fix memory leak.
This commit is contained in:
parent
53a6fe6ac5
commit
77cb0c56ef
@ -1,3 +1,7 @@
|
|||||||
|
2003-01-15 Pierre Humblet <pierre.humblet@ieee.org>
|
||||||
|
|
||||||
|
* cmalloc.cc (_cmalloc): Fix memory leak.
|
||||||
|
|
||||||
2003-01-15 Corinna Vinschen <corinna@vinschen.de>
|
2003-01-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* autoload.cc: Fix copyright date.
|
* autoload.cc: Fix copyright date.
|
||||||
|
@ -231,8 +231,7 @@ _cmalloc (int size)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
size = sz + sizeof (_cmalloc_entry);
|
rvc = (_cmalloc_entry *) _csbrk (sz);
|
||||||
rvc = (_cmalloc_entry *) _csbrk (size);
|
|
||||||
if (!rvc)
|
if (!rvc)
|
||||||
{
|
{
|
||||||
cygheap_protect->release ();
|
cygheap_protect->release ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user