Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: Fix assert in thread_add_unuse if thread_execute was used
* thread.c: (thread_call) thread_execute passes in a dummy thread, on its stack, with a NULL thread master. Those shouldn't be added to the unuse list or thread_add_unuse rightly asserts. Fix this very dumb bug. See https://bugzilla.quagga.net/show_bug.cgi?id=975 With thanks to Sergey Popov, admin@pinkbyte.ru, and Andreas Nilsson, andrnils@resilans.se, for help with diagnosis and testing.
- Loading branch information