]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
missing goto fail
authorMathieu Rene <mrene@avgs.ca>
Wed, 25 Jul 2012 23:56:25 +0000 (19:56 -0400)
committerMathieu Rene <mrene@avgs.ca>
Wed, 25 Jul 2012 23:56:25 +0000 (19:56 -0400)
libs/freetdm/mod_freetdm/tdm.c

index 5c259e0cd1edd14cf188fd526ce77f195da4629b..5b9f1486eca3ebc37e60d2ca756262cbc4b38341 100644 (file)
@@ -124,6 +124,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
          span_id = ftdm_span_get_id(span);   
     } else {
         switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find span [%s]\n", span_name);
+        goto fail;
     }