From: Brian West Date: Wed, 27 May 2009 02:38:39 +0000 (+0000) Subject: clean up X-Git-Tag: v1.0.4~754 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e1641dbf42555fd5e6fc562690c9774bf0bc8dd;p=thirdparty%2Ffreeswitch.git clean up git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13452 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index cd259c8028..59a40aacb4 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -541,6 +541,7 @@ SWITCH_STANDARD_API(stun_function) } stun_ip = strdup(cmd); + switch_assert(stun_ip); if ((p = strchr(stun_ip, ':'))) { int iport;