From d6c2b9a2fb9b66f96067be70ab13c7f91adbf669 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 10 May 2013 10:45:07 -0500 Subject: [PATCH] FS-5085 the last change helped weed out the real bug which is this commit --- src/mod/endpoints/mod_loopback/mod_loopback.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index 0c0e64a548..8bd3640759 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -445,8 +445,8 @@ static switch_status_t channel_on_execute(switch_core_session_t *session) } if (bow) { - switch_core_session_t *other_session; - const char *other_uuid; + switch_core_session_t *other_session = NULL; + const char *other_uuid = NULL; if ((find_non_loopback_bridge(tech_pvt->other_session, &other_session, &other_uuid) == SWITCH_STATUS_SUCCESS)) { switch_caller_extension_t *extension; @@ -740,7 +740,7 @@ static switch_status_t find_non_loopback_bridge(switch_core_session_t *session, { switch_channel_t *channel = switch_core_session_get_channel(session); const char *a_uuid = NULL; - switch_core_session_t *sp; + switch_core_session_t *sp = NULL; *br_session = NULL; *br_uuid = NULL;