From: Anthony Minessale Date: Thu, 19 Oct 2006 00:26:00 +0000 (+0000) Subject: fix X-Git-Tag: v1.0-beta1~1889 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=930fc4dee4630ac686f6365943dc9717d1b68072;p=thirdparty%2Ffreeswitch.git fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3087 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 5e56b940a0..6f42213aae 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -957,7 +957,7 @@ static void do_invite(switch_core_session_t *session) } - if ((e_dest = strdup(tech_pvt->e_dest))) { + if (tech_pvt->e_dest && (e_dest = strdup(tech_pvt->e_dest))) { char *user = e_dest, *host = NULL; char hash_key[256] = "";