Skip to content
Snippets Groups Projects
Commit 1f0d723c authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

properly initialize non-static locks.

(Thanks Dinesh for tracking the bug and fixing it)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 2b8bc286
No related branches found
No related tags found
No related merge requests found
......@@ -363,6 +363,7 @@ struct { \
#define AST_LIST_HEAD_INIT(head) { \
(head)->first = NULL; \
(head)->last = NULL; \
(head)->lock = AST_MUTEX_INIT_VALUE; \
ast_mutex_init(&(head)->lock); \
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment