Revision
15267
Author
mochouinard
Date
2009-10-29 03:35:53 -0500 (Thu, 29 Oct 2009)

Log Message

mod_sofia: Fix memleak introduce in r15260

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (15266 => 15267)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	2009-10-29 05:47:17 UTC (rev 15266)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	2009-10-29 08:35:53 UTC (rev 15267)
@@ -1937,8 +1937,8 @@
 
 		ret = AUTH_FORBIDDEN;
 	}
+	switch_safe_free(input2);
 
-
   skip_auth:
 
 	if (first && ret == AUTH_OK) {