summaryrefslogtreecommitdiff
path: root/include/atomic.h
diff options
context:
space:
mode:
authorRonald Wahl <ronald.wahl@raritan.com>2013-02-04 14:51:46 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2013-02-05 15:59:18 +0100
commit389cd96704f21549cafc0b5bdcd0ef762b98bc08 (patch)
tree1bfa1a3efe9bffc303a99e635e6248476f30a651 /include/atomic.h
parent98df9185fdfce0203999edc4d92ac56f38108529 (diff)
libc: atexit: reuse free slots at the end of exit functions table
Continuosly dlopen and dlclose of shared object will cause a memory leak in atexit function. This fix reuse free slots at the end of the list. For further detail see https://bugs.busybox.net/show_bug.cgi?id=2455 Signed-off-by: Ronald Wahl <ronald.wahl@raritan.com> Tested-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'include/atomic.h')
0 files changed, 0 insertions, 0 deletions