summaryrefslogtreecommitdiff
path: root/lib/libfrr.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2018-10-01 13:38:34 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2018-10-03 16:32:11 -0300
commitc4345fbf71fcc7ef4b64d95979f252c613dd3ebf (patch)
treef8602546e17376868b00a169e202f6f39b13705c /lib/libfrr.c
parent6655966d2c2fe7a29ca29af4366fa3e044ad1170 (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