From a5754219e7ec7c0d2d46a5b502791a13457bd2f4 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Thu, 6 Jul 2023 15:19:34 +0200 Subject: [PATCH] BUG/MINOR: sink: missing sft free in sink_deinit() Adding missing free for sft (string_forward_target) in sink_deinit(), which resulted in minor leak for each declared ring target at deinit(). (either explicit and implicit rings are affected) This may be backported up to 2.4. --- src/sink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sink.c b/src/sink.c index 1edde3c86..10b538863 100644 --- a/src/sink.c +++ b/src/sink.c @@ -1370,6 +1370,7 @@ static void sink_deinit() free_proxy(sink->forward_px); free(sink->name); free(sink->desc); + free(sink->sft); free(sink); } }