On Tuesday, May 07, 2013 07:06:18 Antonio Quartulli wrote:
nc_worker accesses the originator table during its periodic
work, but since the originator table is freed before
stopping the worker this leads to a global protection fault.
Fix this by killing the worker (in nc_free) before freeing
the originator table.
Moreover tidy up the entire clean up routine by running all
the subcomponents freeing procedures first and then killing
the TT and the originator tables at the end.
Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
---
v2:
- based on top of maint
- commit message reworded
main.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
Applied in revision 763f413.
Thanks,
Marek