commit | dcd6f3a597b274581953eb04c300b7fea5bcae4f | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Jun 08 17:08:19 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jun 14 18:57:13 2018 +0200 |
tree | 109d2d5a38ff23808dbbeaeab87e3e6d25446788 | |
parent | fd9655c54dc504f75afea9c45b3a34ffaba73db4 [diff] |
MINOR: tasks: Make sure we correctly init and deinit a tasklet. Up until now, a tasklet couldn't be free'd while it was in the list, it is no longer the case, so make sure we remove it from the list before freeing it. To do so, we have to make sure we correctly initialize it, so use LIST_INIT, instead of setting the pointers to NULL.