Displaying 1 result from an estimated 1 matches for "chlock".
Did you mean:
cclock
2003 Jul 08
0
Patch to fix some segfaults in Asterisk
...==========================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.25
diff -u -r1.25 channel.c
--- channel.c 4 Jul 2003 16:49:11 -0000 1.25
+++ channel.c 8 Jul 2003 10:48:13 -0000
@@ -279,8 +279,8 @@
return NULL;
PTHREAD_MUTEX_LOCK(&chlock);
tmp = malloc(sizeof(struct ast_channel));
- memset(tmp, 0, sizeof(struct ast_channel));
if (tmp) {
+ memset(tmp, 0, sizeof(struct ast_channel));
pvt = malloc(sizeof(struct ast_channel_pvt));
if (pvt) {
memset(pvt, 0, sizeof(struct ast_channel_pvt));
Index: frame.c
=================...