commit | 29bf96d73dc7d369cde0d668e24c94f703c0ad32 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 17 14:16:51 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 17 17:16:20 2019 +0200 |
tree | 6ad21e3ab8bda8b924fe60aca21c3ecba11ab27e | |
parent | 01f3489752ec6ab4279fe975af0053c75a2a56fc [diff] |
MINOR: task: always reset curr_task when freeing a task or tasklet With the thread debugger it becomes visible that we can leave some wandering pointers for a while in curr_task, which is inappropriate. This patch addresses this by resetting curr_task to NULL before really freeing the area. This way it becomes safe even regarding signals.