diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-02 15:54:25 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-17 00:27:08 +0000 |
| commit | a881aecde741f26dba164be00abc105eef2aa9b4 (patch) | |
| tree | dd155f230a5d2a58f245a3263a1a0bb6c0c74d4a | |
| parent | 181232b555bb8074c7509976ca18618f7e6a7aaf (diff) | |
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>
| -rw-r--r-- | vrrpd/vrrp.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |
