[svn-commits] trunk r19160 - /trunk/channels/misdn/isdn_lib.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Apr 11 01:31:22 MST 2006


Author: crichter
Date: Tue Apr 11 03:31:19 2006
New Revision: 19160

URL: http://svn.digium.com/view/asterisk?rev=19160&view=rev
Log:
mISDN Messages must be freed with free_msg \!\!

Modified:
    trunk/channels/misdn/isdn_lib.c

Modified: trunk/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn/isdn_lib.c?rev=19160&r1=19159&r2=19160&view=diff
==============================================================================
--- trunk/channels/misdn/isdn_lib.c (original)
+++ trunk/channels/misdn/isdn_lib.c Tue Apr 11 03:31:19 2006
@@ -2495,7 +2495,7 @@
 
 	if ( (frm->addr == 0) && (frm->prim == (MGR_DELLAYER|CONFIRM)) ) {
 		cb_log(2, 0, "MGMT: DELLAYER|CONFIRM Addr: 0 !\n") ;
-		free(msg);
+		free_msg(msg);
 		return 1;
 	}
 	
@@ -2505,7 +2505,7 @@
 		if (frm->prim == (MGR_DELLAYER|CONFIRM)) {
 			cb_log(2, 0, "MGMT: DELLAYER|CONFIRM Addr: %x !\n",
 					frm->addr) ;
-			free(msg);
+			free_msg(msg);
 			return 1;
 		}
 		



More information about the svn-commits mailing list