summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_rnh.c4
1 files changed, 2 insertions, 2 deletions
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;
}