[Asterisk-cvs] asterisk pbx.c,1.144,1.145

markster at lists.digium.com markster at lists.digium.com
Sat Aug 21 15:03:48 CDT 2004


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv5637

Modified Files:
	pbx.c 
Log Message:
Fix small memory leak... (bug #2277)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- pbx.c	8 Aug 2004 17:15:01 -0000	1.144
+++ pbx.c	21 Aug 2004 18:49:52 -0000	1.145
@@ -2856,6 +2856,7 @@
 				apps = tmp->next;
 			if (option_verbose > 1)
 				ast_verbose( VERBOSE_PREFIX_2 "Unregistered application '%s'\n", tmp->name);
+			free(tmp);
 			ast_mutex_unlock(&applock);
 			return 0;
 		}




More information about the svn-commits mailing list