From a881aecde741f26dba164be00abc105eef2aa9b4 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 2 May 2019 15:54:25 +0000 Subject: [PATCH] vrrpd: fix memleak during config write Forgot to free a list created in the course of writing our config. Signed-off-by: Quentin Young --- vrrpd/vrrp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vrrpd/vrrp.c b/vrrpd/vrrp.c index 1e01307ed1..d50fb4f2ec 100644 --- a/vrrpd/vrrp.c +++ b/vrrpd/vrrp.c @@ -2283,6 +2283,8 @@ int vrrp_config_write_interface(struct vty *vty) vty_endframe(vty, "!\n"); } + list_delete(&vrs); + return writes; } -- 2.39.5