From d41d41e31cab4e974132bb4c9d28561e87663e90 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 10 Oct 2007 20:37:26 +0200 Subject: [PATCH] ipvs plugin: Fixed a memory leak in cipvs_submit_services(). The ip_vs_get_dests pointer has not been freed... :-/ Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- src/ipvs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ipvs.c b/src/ipvs.c index f2f40b45..c670b09d 100644 --- a/src/ipvs.c +++ b/src/ipvs.c @@ -309,6 +309,8 @@ static void cipvs_submit_service (struct ip_vs_service_entry *se) for (i = 0; i < dests->num_dests; ++i) cipvs_submit_dest (pi, &dests->entrytable[i]); + + free (dests); return; } /* cipvs_submit_service */ -- 2.11.0