From 55f5629d894995b0219093788f8d68280d382b9c Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Sun, 12 Apr 2009 23:29:04 +0000 Subject: [PATCH] forgot an ifdef git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13008 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_cidlookup/mod_cidlookup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_cidlookup/mod_cidlookup.c b/src/mod/applications/mod_cidlookup/mod_cidlookup.c index e6b73a27eb..251d17b17f 100755 --- a/src/mod/applications/mod_cidlookup/mod_cidlookup.c +++ b/src/mod/applications/mod_cidlookup/mod_cidlookup.c @@ -154,9 +154,11 @@ static switch_status_t config_callback_dsn(switch_xml_config_item_t *data, switc #endif done: +#ifdef SWITCH_HAVE_ODBC if (globals.db_mutex) { switch_mutex_unlock(globals.db_mutex); } +#endif return status; }