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;