[RTEMS Project] #4967: strtof leaks memory
RTEMS trac
trac at rtems.org
Wed Nov 15 04:07:59 UTC 2023
#4967: strtof leaks memory
--------------------------+--------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: tool/newlib | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
--------------------------+--------------------
The libc call `strtof` leaks memory when a thread exits if `strtof` has
been made within the context of the thread. The code uses `Balloc` and
`Bfree` to obtain pieces of memory it uses. The memory is recycled using
newlib reent TLS variables. The `_reclaim_reent()` does not clean up
`_REENT_MP_P5S`.
--
Ticket URL: <http://devel.rtems.org/ticket/4967>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list