]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
forgot an ifdef
authorRupa Schomaker <rupa@rupa.com>
Sun, 12 Apr 2009 23:29:04 +0000 (23:29 +0000)
committerRupa Schomaker <rupa@rupa.com>
Sun, 12 Apr 2009 23:29:04 +0000 (23:29 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13008 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_cidlookup/mod_cidlookup.c

index e6b73a27eb1e15fa545b726e63f3ea5343c5b922..251d17b17fdf10d931ad0d4b73819d9f2338f66b 100755 (executable)
@@ -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;
 }