diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index df6fabd1e1..20af96a557 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -1076,8 +1076,8 @@ static int send_client(struct rnh *rnh, struct zserv *client, return zserv_send_message(client, s); failure: - if (s) - stream_free(s); + + stream_free(s); return -1; }