diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-02-14 18:16:26 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-02-14 18:16:26 +0000 |
commit | 0af15b985cf30b31d7ae030d4d058181f1d01d5a (patch) | |
tree | cfa848fb447bfdab781e39267987d95a6f95393c /cel | |
parent | 03894236d053de42a37945fb53e37a854d90d647 (diff) |
Fix lock typo that should be unlock in cel_sqlite_custom reload.
(closes issue ASTERISK-19356)
Reported by: Alex Villacis Lasso
Patches:
asterisk-1.8.9.2-cel_sqlite3_custom-fix-reload-locking-typo.patch (license #5617) patch uploaded by Alex Villacis Lasso
Review: https://reviewboard.asterisk.org/r/1740/
........
Merged revisions 355319 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 355320 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cel')
-rw-r--r-- | cel/cel_sqlite3_custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cel/cel_sqlite3_custom.c b/cel/cel_sqlite3_custom.c index e0b022519..444df77d3 100644 --- a/cel/cel_sqlite3_custom.c +++ b/cel/cel_sqlite3_custom.c @@ -353,7 +353,7 @@ static int reload(void) ast_mutex_lock(&lock); res = load_config(1); - ast_mutex_lock(&lock); + ast_mutex_unlock(&lock); return res; } |