diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-10-01 13:38:34 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@gmail.com> | 2018-10-14 14:37:46 +0200 |
| commit | 3081869800508e418a4f8f6cef69cf3dfd1f5997 (patch) | |
| tree | 21a6d342095229fa1257b6be93100b2b8a0fe5ba /lib/lib_errors.c | |
| parent | a0350aed12dd46783d856ec3fba5e2eb3a9326d4 (diff) | |
lib: refactor thread_execute
Don't allocate threads in the stack, but use the standardized
`thread_get` and `thread_add_unused` to avoid creating corner cases in
the thread API.
This fixes a thread mutex memory leak in FreeBSD.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
(cherry picked from commit c4345fbf71fcc7ef4b64d95979f252c613dd3ebf)
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
