summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_rnh.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-06-10 20:57:30 +0200
committerMark Stapp <mjs@voltanet.io>2020-06-10 20:57:30 +0200
commit00580dacb42e8e8c0ef152ba7615da63cde19c9b (patch)
tree47c08b4218aafeb0ef3abfca893cc4726ca41cbe /zebra/zebra_rnh.c
parentMerge pull request #6528 from mjstapp/fix_zebra_mpls_sa (diff)
downloadfrr-00580dacb42e8e8c0ef152ba7615da63cde19c9b.tar.xz
frr-00580dacb42e8e8c0ef152ba7615da63cde19c9b.zip
zebra: fix SA warning in zebra_rnh.c
Fix an SA warning... that I introduced while resolving a different SA warning. Signed-off-by: Mark Stapp <mjs@voltanet.io>
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 e94a44509..9f7965d87 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;
}