vrrpd: fix memleak during config write

Forgot to free a list created in the course of writing our config.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-05-02 15:54:25 +00:00
parent 181232b555
commit a881aecde7

View File

@ -2283,6 +2283,8 @@ int vrrp_config_write_interface(struct vty *vty)
vty_endframe(vty, "!\n");
}
list_delete(&vrs);
return writes;
}