diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 8ea66517c3..a50204ae35 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -2971,6 +2971,9 @@ ripng_clean() XFREE (MTYPE_ROUTE_TABLE, ripng->route); XFREE (MTYPE_ROUTE_TABLE, ripng->aggregate); + stream_free (ripng->ibuf); + stream_free (ripng->obuf); + XFREE (MTYPE_RIPNG, ripng); ripng = NULL; } /* if (ripng) */