forgot an ifdef

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13008 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Rupa Schomaker 2009-04-12 23:29:04 +00:00
parent 432ef52ce9
commit 55f5629d89
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}