From c520bd45a1d5a55126bc40da6f1d5d788ccccc34 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 7 Nov 2025 17:09:06 -0500 Subject: [PATCH] bridge_softmix: Return early on topology allocation failure. Resolves: #1446 --- bridges/bridge_softmix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c index cdccc6796b..340e4ae43b 100644 --- a/bridges/bridge_softmix.c +++ b/bridges/bridge_softmix.c @@ -2270,7 +2270,7 @@ static void softmix_bridge_stream_sources_update(struct ast_bridge *bridge, stru added_streams = ast_stream_topology_alloc(); if (!added_streams) { - SCOPE_EXIT_LOG(LOG_ERROR, "%s: Couldn't alloc topology\n", ast_channel_name(bridge_channel->chan)); + SCOPE_EXIT_LOG_RTN(LOG_ERROR, "%s: Couldn't alloc topology\n", ast_channel_name(bridge_channel->chan)); } /* We go through the old topology comparing it to the new topology to determine what streams