summaryrefslogtreecommitdiffstats
path: root/src/plugins/prom
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-11-06 15:27:01 -0800
committerDave Barach <openvpp@barachs.net>2022-11-07 15:57:50 +0000
commit66b735ac97a7992db3b6c7ed0b73d677200fe92a (patch)
tree5ea24424542c6e20e50722327c6dc6e75ca0778f /src/plugins/prom
parent61fdfd51d1dd5bd4f3bc02b332b265c28e879221 (diff)
prom: fix stats vector leak
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I620447c9aa8606a125063cdd724bfe74f8a870f6
Diffstat (limited to 'src/plugins/prom')
-rw-r--r--src/plugins/prom/prom.c1
1 files changed, 1 insertions, 0 deletions
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;
}