[asterisk-commits] trunk r19304 - in /trunk: ./ include/asterisk/linkedlists.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 11 13:48:59 MST 2006


Author: file
Date: Tue Apr 11 15:48:57 2006
New Revision: 19304

URL: http://svn.digium.com/view/asterisk?rev=19304&view=rev
Log:
Merged revisions 19303 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19303 | file | 2006-04-11 17:46:38 -0300 (Tue, 11 Apr 2006) | 2 lines

Minor linked lists bug fix. When you're dealing with swapping entries around a lot it can cause a seg fault.

........

Modified:
    trunk/   (props changed)
    trunk/include/asterisk/linkedlists.h

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

Modified: trunk/include/asterisk/linkedlists.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/linkedlists.h?rev=19304&r1=19303&r2=19304&view=diff
==============================================================================
--- trunk/include/asterisk/linkedlists.h (original)
+++ trunk/include/asterisk/linkedlists.h Tue Apr 11 15:48:57 2006
@@ -486,6 +486,7 @@
 				(head)->last = curelm;				\
 		} \
 	}								\
+        (elm)->field.next = NULL;                                       \
 } while (0)
 
 #endif /* _ASTERISK_LINKEDLISTS_H */



More information about the asterisk-commits mailing list