From f0e24c2e24c16df4a286b43e876ab88c2f46a672 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 14 Feb 2012 18:12:16 +0000 Subject: [PATCH] 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/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@355319 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- cel/cel_sqlite3_custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cel/cel_sqlite3_custom.c b/cel/cel_sqlite3_custom.c index e0b0225193..444df77d31 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; } -- 2.47.2