mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-19 02:29:31 -05:00
BUG/MINOR: sink: free the forwarding task on exit
ASAN reported a small leak of the sink's forwarding task on exit. This should be backported as far as 2.2.
This commit is contained in:
parent
b91910955a
commit
09727ee201
1 changed files with 1 additions and 0 deletions
|
|
@ -1404,6 +1404,7 @@ static void sink_deinit()
|
|||
ring_free(sink->ctx.ring);
|
||||
}
|
||||
LIST_DELETE(&sink->sink_list);
|
||||
task_destroy(sink->forward_task);
|
||||
free(sink->name);
|
||||
free(sink->desc);
|
||||
free(sink);
|
||||
|
|
|
|||
Loading…
Reference in a new issue