diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-09-25 12:05:53 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@gmail.com> | 2018-10-14 14:37:46 +0200 |
| commit | a0350aed12dd46783d856ec3fba5e2eb3a9326d4 (patch) | |
| tree | 12cd2a9e051d7c3f477ed4c74ca80806e234731b /lib/lib_errors.c | |
| parent | c8c24278b1d1da271089a36303bb7708568ce231 (diff) | |
lib: fix a memory leak in FreeBSD
Two important changes:
* Centralize the thread teardown procedure;
* Save and restore thread mutex context to avoid losing the memory
pointer;
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
(cherry picked from commit 6655966d2c2fe7a29ca29af4366fa3e044ad1170)
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
