diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-10-01 13:38:34 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-10-03 16:32:11 -0300 |
| commit | c4345fbf71fcc7ef4b64d95979f252c613dd3ebf (patch) | |
| tree | f8602546e17376868b00a169e202f6f39b13705c /lib/libfrr.c | |
| parent | 6655966d2c2fe7a29ca29af4366fa3e044ad1170 (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>
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions
