diff options
| author | Christian Hopps <chopps@labn.net> | 2023-05-19 23:12:33 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-05-30 02:10:20 -0400 |
| commit | 52a50ca1d799096e04a4497974a925ee71166cf9 (patch) | |
| tree | 293ea5a1c1fa57dc0a6a80491b4874e4a82bc25c /lib/vty.c | |
| parent | 5ba5613077c78f99ef14715bd56c796f2bfc2d95 (diff) | |
lib: mgmtd: fix memleaks
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/vty.c')
| -rw-r--r-- | lib/vty.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2472,6 +2472,7 @@ void vty_close(struct vty *vty) if (vty->fd == STDIN_FILENO) was_stdio = true; + XFREE(MTYPE_TMP, vty->pending_cmds_buf); XFREE(MTYPE_VTY, vty->buf); if (vty->error) { |
