]> Zhao Yanbai Git Server - minix.git/commit
libmthread: resolve memory leaks on exception path 49/3349/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 5 Aug 2016 10:26:36 +0000 (10:26 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Fri, 5 Aug 2016 11:17:30 +0000 (11:17 +0000)
commit815afbad3330f03122b15d230dbc3d36d38fab54
tree6d57cee1b8dae08de5b916cd9b71bcdefdde8c48
parentab712d19236a3841c2f32c52798f854f9f9cd880
libmthread: resolve memory leaks on exception path

If libmthread runs into a memory allocation failure while attempting
to enlarge its thread pool, it does not free up any preliminary
allocations made so far.

Reported by dcb314.

This closes #152.

Change-Id: Ib882a4544e4802a0eb0a53446b43997876cde633
minix/lib/libmthread/allocate.c