From: Florin Coras Date: Sun, 6 Nov 2022 23:27:01 +0000 (-0800) Subject: prom: fix stats vector leak X-Git-Tag: v23.06-rc0~141 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=66b735ac97a7992db3b6c7ed0b73d677200fe92a;p=vpp.git prom: fix stats vector leak Type: fix Signed-off-by: Florin Coras Change-Id: I620447c9aa8606a125063cdd724bfe74f8a870f6 --- diff --git a/src/plugins/prom/prom.c b/src/plugins/prom/prom.c index 3e0fa3b408d..934e8480d3c 100644 --- a/src/plugins/prom/prom.c +++ b/src/plugins/prom/prom.c @@ -177,6 +177,7 @@ retry: } } stat_segment_data_free (res); + vec_free (stats); return s; }