[asterisk-commits] twilson: trunk r314359 - in /trunk: ./ main/lock.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 20 00:28:38 CDT 2011


Author: twilson
Date: Wed Apr 20 00:28:36 2011
New Revision: 314359

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=314359
Log:
Merged revisions 314358 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r314358 | twilson | 2011-04-19 22:25:15 -0700 (Tue, 19 Apr 2011) | 4 lines
  
  Initialize track pointer
  
  ast_reentrancy_init checks to see if it is NULL before initializing with calloc
........

Modified:
    trunk/   (props changed)
    trunk/main/lock.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/main/lock.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/lock.c?view=diff&rev=314359&r1=314358&r2=314359
==============================================================================
--- trunk/main/lock.c (original)
+++ trunk/main/lock.c Wed Apr 20 00:28:36 2011
@@ -47,6 +47,7 @@
 	int res;
 	pthread_mutexattr_t  attr;
 
+	t->track = NULL;
 #ifdef DEBUG_THREADS
 #if defined(AST_MUTEX_INIT_W_CONSTRUCTORS) && defined(CAN_COMPARE_MUTEX_TO_INIT_VALUE)
 	if ((t->mutex) != ((pthread_mutex_t) PTHREAD_MUTEX_INITIALIZER)) {




More information about the asterisk-commits mailing list