summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-05-30 19:43:24 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-06-01 08:58:16 -0400
commit3ddf7680fd64134b32f1304d6cf33b9971b8a1e5 (patch)
tree6ab79626ed072c7f7d6bde1e270776d03258f7d4
parentc2cf5223477114b428077a07eb370e52b59da2e5 (diff)
zebra: Consolidate the stream_failure section with normal return
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--zebra/zebra_mlag.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_mlag.c b/zebra/zebra_mlag.c
index 6713dbc967..7715eab0a8 100644
--- a/zebra/zebra_mlag.c
+++ b/zebra/zebra_mlag.c
@@ -338,8 +338,6 @@ static void zebra_mlag_post_data_from_main_thread(struct event *thread)
}
}
- stream_free(s);
- return;
stream_failure:
stream_free(s);
if (zebra_s)