[Asterisk-cvs] asterisk dnsmgr.c,1.6,1.7
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Thu Jun 23 15:11:15 CDT 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv22301
Modified Files:
dnsmgr.c
Log Message:
let's try allocating the proper amount of memory...
Index: dnsmgr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dnsmgr.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dnsmgr.c 6 Jun 2005 22:12:18 -0000 1.6
+++ dnsmgr.c 23 Jun 2005 19:11:49 -0000 1.7
@@ -74,7 +74,7 @@
if (!name || !result || ast_strlen_zero(name))
return NULL;
- entry = calloc(1, sizeof(*result) + strlen(name));
+ entry = calloc(1, sizeof(*entry) + strlen(name));
if (!entry)
return NULL;
More information about the svn-commits
mailing list