diff options
| -rw-r--r-- | zebra/zebra_vty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 35d4bd533d..858bc417d7 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -249,6 +249,9 @@ static int zebra_static_route_holdem(struct zebra_vrf *zvrf, return CMD_SUCCESS; } + XFREE(MTYPE_STATIC_ROUTE, shr->nhvrf_name); + XFREE(MTYPE_STATIC_ROUTE, shr->vrf_name); + XFREE(MTYPE_STATIC_ROUTE, shr); /* * If a person enters the same line again * we need to silently accept it |
