aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_lock.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-17 13:40:11 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-17 13:40:11 +0000
commit13f1a2e899bacb3b157b9ebd7b4626a4b7329ac1 (patch)
tree3890bc272de532a378ce77708f31ef7f46725e16 /funcs/func_lock.c
parent4f60f2c1aadf87ade04a377f6e9c0e846b234023 (diff)
store and destroy implementations for realtime pgsql (closes issue #10372)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79859 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_lock.c')
-rw-r--r--funcs/func_lock.c2
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;