[BUG] deinit: unbind listeners before freeing them
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2010 08:38:17 +0000 (10:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Sep 2010 08:38:17 +0000 (10:38 +0200)
commitf6e2cc79d87a475c1b3e5049b1b178581121ff0e
tree11717f5e563ce92ec4887387ea36a41feab2f7bb
parentf5a526f39fbbb4e366e514179094a3d5db9878d5
[BUG] deinit: unbind listeners before freeing them

In deinit(), it is possible that we first free the listeners, then
unbind them all. Right now this situation can't happen because the
only way to call deinit() is to pass via a soft-stop which will
already unbind all protocols. But later this might become a problem.
src/haproxy.c