mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 01:37:53 +00:00
ripngd: fix packet buffer memleak
Fix #668 Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
7de6a87b55
commit
0581e54dcf
@ -2971,6 +2971,9 @@ ripng_clean()
|
|||||||
XFREE (MTYPE_ROUTE_TABLE, ripng->route);
|
XFREE (MTYPE_ROUTE_TABLE, ripng->route);
|
||||||
XFREE (MTYPE_ROUTE_TABLE, ripng->aggregate);
|
XFREE (MTYPE_ROUTE_TABLE, ripng->aggregate);
|
||||||
|
|
||||||
|
stream_free (ripng->ibuf);
|
||||||
|
stream_free (ripng->obuf);
|
||||||
|
|
||||||
XFREE (MTYPE_RIPNG, ripng);
|
XFREE (MTYPE_RIPNG, ripng);
|
||||||
ripng = NULL;
|
ripng = NULL;
|
||||||
} /* if (ripng) */
|
} /* if (ripng) */
|
||||||
|
Loading…
Reference in New Issue
Block a user