diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-08-17 13:40:11 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-08-17 13:40:11 +0000 |
commit | 646234bd1097024c3a3ca46f0b1ec473ed95fa36 (patch) | |
tree | 3890bc272de532a378ce77708f31ef7f46725e16 /funcs/func_lock.c | |
parent | 9d54c1427806e8282473b9849297b24aa157822f (diff) |
store and destroy implementations for realtime pgsql (closes issue #10372)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_lock.c')
-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; |