[asterisk-commits] file: branch file/bridging r81329 - /team/file/bridging/bridges/bridge_zaptel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 28 21:30:15 CDT 2007
Author: file
Date: Tue Aug 28 21:30:15 2007
New Revision: 81329
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81329
Log:
Update zaptel bridge technology to use ast_free instead of free.
Modified:
team/file/bridging/bridges/bridge_zaptel.c
Modified: team/file/bridging/bridges/bridge_zaptel.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/bridges/bridge_zaptel.c?view=diff&rev=81329&r1=81328&r2=81329
==============================================================================
--- team/file/bridging/bridges/bridge_zaptel.c (original)
+++ team/file/bridging/bridges/bridge_zaptel.c Tue Aug 28 21:30:15 2007
@@ -86,7 +86,7 @@
/* Create a new zaptel pseudo channel to use for mixing */
if ((zm->fd = open("/dev/zap/pseudo", O_RDWR)) < 0) {
- free(zm);
+ ast_free(zm);
return -1;
}
@@ -95,7 +95,7 @@
ztc.confmode = ZT_CONF_CONFANN | ZT_CONF_CONFANNMON;
if (ioctl(zm->fd, ZT_SETCONF, &ztc)) {
close(zm->fd);
- free(zm);
+ ast_free(zm);
return -1;
}
zm->conf = ztc.confno;
@@ -114,7 +114,7 @@
close(zm->fd);
/* Free our memory and go on our way... */
- free(zm);
+ ast_free(zm);
return 0;
}
More information about the asterisk-commits
mailing list