diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c index cefbae5458..55cb28ffc0 100644 --- a/zebra/zebra_ptm.c +++ b/zebra/zebra_ptm.c @@ -1431,6 +1431,7 @@ static void _zebra_ptm_reroute(struct zserv *zs, struct zebra_vrf *zvrf, return; stream_failure: + stream_free(msgc); zlog_err("%s:%d failed to registrate client pid", __FILE__, __LINE__); }