[asterisk-commits] branch crichter/0.3.0 r19159 - /team/crichter/0.3.0/channels/misdn/isdn_lib.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 11 01:30:37 MST 2006


Author: crichter
Date: Tue Apr 11 03:30:35 2006
New Revision: 19159

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

Modified:
    team/crichter/0.3.0/channels/misdn/isdn_lib.c

Modified: team/crichter/0.3.0/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.3.0/channels/misdn/isdn_lib.c?rev=19159&r1=19158&r2=19159&view=diff
==============================================================================
--- team/crichter/0.3.0/channels/misdn/isdn_lib.c (original)
+++ team/crichter/0.3.0/channels/misdn/isdn_lib.c Tue Apr 11 03:30:35 2006
@@ -2498,7 +2498,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;
 	}
 	
@@ -2508,7 +2508,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 asterisk-commits mailing list