From 41163d10207280f608212be2a882165a85d122c6 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 9 May 2007 15:49:01 +0000 Subject: [PATCH] make sure to initialize gateway->next git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5112 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 67df402ef3..f9d7012172 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -489,7 +489,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag) gateway->profile = profile; gateway->name = switch_core_strdup(gateway->pool, name); gateway->freq = 0; - + gateway->next = NULL; for (param = switch_xml_child(gateway_tag, "param"); param; param = param->next) { char *var = (char *) switch_xml_attr_soft(param, "name");