From: Brian West Date: Tue, 12 Jan 2010 01:47:31 +0000 (+0000) Subject: doh X-Git-Tag: v1.0.6~792 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=650f55bf2f2fa5610e438b832061f22bf10d47c0;p=thirdparty%2Ffreeswitch.git doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16255 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_nat.c b/src/switch_nat.c index 07822076fb..cf03618714 100644 --- a/src/switch_nat.c +++ b/src/switch_nat.c @@ -632,6 +632,7 @@ SWITCH_DECLARE(void) switch_nat_republish(void) if (!(natxml = switch_xml_parse_str_dup(stream.data))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unable to parse XML: %s\n", (char *) stream.data); switch_safe_free(stream.data); + return; } /* iterate the xml and publish the mappings */