summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_rnh.c')
-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 e94a445098..9f7965d879 100644
--- a/zebra/zebra_rnh.c
+++ b/zebra/zebra_rnh.c
@@ -1069,8 +1069,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;
}