summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2010-06-13 01:13:36 +0000
committercperciva <cperciva@FreeBSD.org>2010-06-13 01:13:36 +0000
commit1340d134ef60ce33037e39a0ce368cf1c940a2d7 (patch)
tree4fc696a236b0b4050f7803130f79d9657bdf0461 /lib/libkse/thread
parenta3db6f34d740490067775fb13808463a2ccbf11b (diff)
downloadFreeBSD-src-1340d134ef60ce33037e39a0ce368cf1c940a2d7.zip
FreeBSD-src-1340d134ef60ce33037e39a0ce368cf1c940a2d7.tar.gz
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.
Diffstat (limited to 'lib/libkse/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud