[Freeswitch-svn] [commit] r13726 - freeswitch/trunk/src

FreeSWITCH SVN brian at freeswitch.org
Tue Jun 9 10:25:21 PDT 2009


Author: brian
Date: Tue Jun  9 12:25:20 2009
New Revision: 13726

Log:
 fix memory leak 

Modified:
   freeswitch/trunk/src/switch_utils.c

Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c	(original)
+++ freeswitch/trunk/src/switch_utils.c	Tue Jun  9 12:25:20 2009
@@ -756,6 +756,7 @@
 
 		if (s && m && s->sin_addr.s_addr == me->sin_addr.s_addr) {
 			*mask = m->sin_addr.s_addr;
+			freeifaddrs(ifaddrs);
 			return 0;
 		}
 	}



More information about the Freeswitch-svn mailing list