diff options
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_lock.c b/funcs/func_lock.c index e950aef57..8c08f85c6 100644 --- a/funcs/func_lock.c +++ b/funcs/func_lock.c @@ -97,7 +97,7 @@ static int get_lock(struct ast_channel *chan, char *lockname, int try) { struct ast_datastore *lock_store = ast_channel_datastore_find(chan, &lock_info, NULL); struct lock_frame *current; - struct channel_lock_frame *clframe, *save_clframe; + struct channel_lock_frame *clframe = NULL, *save_clframe = NULL; AST_LIST_HEAD(, channel_lock_frame) *list; int res, count_channel_locks = 0; |