[asterisk-commits] file: trunk r85819 - in /trunk: ./ main/threadstorage.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 16 09:21:27 CDT 2007
Author: file
Date: Tue Oct 16 09:21:27 2007
New Revision: 85819
URL: http://svn.digium.com/view/asterisk?view=rev&rev=85819
Log:
Merged revisions 85818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85818 | file | 2007-10-16 11:19:39 -0300 (Tue, 16 Oct 2007) | 6 lines
Fix memory allocation issue in threadstorage.
(closes issue #10995)
Reported by: snuffy
Patches:
new-patch.diff uploaded by snuffy (license 35)
........
Modified:
trunk/ (props changed)
trunk/main/threadstorage.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/threadstorage.c
URL: http://svn.digium.com/view/asterisk/trunk/main/threadstorage.c?view=diff&rev=85819&r1=85818&r2=85819
==============================================================================
--- trunk/main/threadstorage.c (original)
+++ trunk/main/threadstorage.c Tue Oct 16 09:21:27 2007
@@ -56,7 +56,7 @@
{
struct tls_object *to;
- if (!(to = ast_calloc(sizeof(*to), 1)))
+ if (!(to = ast_calloc(1, sizeof(*to))))
return;
to->key = key;
More information about the asterisk-commits
mailing list