[Freeswitch-svn] [commit] r5667 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: anthm Date: Mon Aug 27 16:53:48 2007 New Revision: 5667 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c Log: free xml later in the code to avoid freeing used memory Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c Mon Aug 27 16:53:48 2007 @@ -839,8 +839,6 @@ } } - switch_xml_free(xml); - if (switch_strlen_zero(passwd) && switch_strlen_zero(a1_hash)) { ret = AUTH_OK; goto end; @@ -894,6 +892,7 @@ } end: + switch_xml_free(xml); switch_safe_free(input); switch_safe_free(input2); switch_safe_free(username);
participants (1)
-
Freeswitch SVN