mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-07 14:01:54 +00: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
@ -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 New Issue
Block a user