From 90fe19867cc9c7b0e92344ecad9546b0d94aabdc Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 22 Oct 2006 15:46:23 +0000 Subject: [PATCH] initialize to null so we can check for null before we free. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3156 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_dingaling/mod_dingaling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index 31ada3a65c..7d3d2dd014 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -1975,7 +1975,7 @@ static void execute_sql(char *dbname, char *sql, switch_mutex_t *mutex) static void do_vcard(ldl_handle_t *handle, char *to, char *from, char *id) { char *params = NULL, *real_to, *to_user, *xmlstr = NULL, *to_host = NULL; - switch_xml_t domain, xml, user, vcard; + switch_xml_t domain, xml = NULL, user, vcard; if (!strncasecmp(to, "user+", 5)) { real_to = to + 5;