]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: Consolidate the stream_failure section with normal return
authorDonald Sharp <sharpd@nvidia.com>
Tue, 30 May 2023 23:43:24 +0000 (19:43 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 1 Jun 2023 12:58:16 +0000 (08:58 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_mlag.c

index 6713dbc9674949ef0b15a672dc85bac5e1d45e35..7715eab0a8d6dfaa31a6e87ac77b5f7c5acb0a87 100644 (file)
@@ -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)