Date: Sun, 13 Jun 2010 01:13:36 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/stdlib atexit.c Message-ID: <201006130113.o5D1DlQw009571@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2010-06-13 01:13:36 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib atexit.c
Log:
SVN rev 209117 on 2010-06-13 01:13:36Z by cperciva
In threaded processes, destroy the mutex atexit_mutex when we've
finished using it. This allows the mutex's allocated memory to be
freed.
This is one sense a rather silly change, since at this point we're
less than a microsecond away from calling _exit; but fixing this
memory leak is likely to make life easier for anyone trying to
track down other memory leaks.
Revision Changes Path
1.9 +3 -0 src/lib/libc/stdlib/atexit.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006130113.o5D1DlQw009571>
