malloc() in newlib : does it waste memory after one big failure allocation?

Oleksandr Kapitanenko Oleksandr.Kapitanenko@portaone.com
Fri May 25 04:28:00 GMT 2018


Thank you, now it works just fine!

Tested on gcc mips cross tools.

On 2018-05-24 9:08 PM, Jeff Johnston wrote:
> I was not aware.  Thanks for bringing it to the attention of the list. 
>   Please try the attached proposed patch to see if it fixes the 
> problem.  I don't have access to any cross-tools on this computer so I 
> haven't
> verified the patch other than inspection.  Let me know if there are 
> any issues.
>
> Regards,
>
> -- Jeff J.
>

-- 

Kind regards,
Oleksandr Kapitanenko



More information about the Newlib mailing list