diff options
-rw-r--r-- | include/asterisk/linkedlists.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index 94e57f1e6..48f13a971 100644 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -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); \ } |