Another missing lock from e9bde2eb.

This commit is contained in:
Marc Olivier Chouinard 2011-12-17 19:59:31 -05:00
parent ee4145c72a
commit 95710cef9f
1 changed files with 1 additions and 1 deletions

View File

@ -1110,7 +1110,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event)
free(buf);
}
sofia_glue_execute_sql_callback(profile, NULL, sql, sofia_presence_sub_callback, &helper);
sofia_glue_execute_sql_callback(profile, profile->ireg_mutex, sql, sofia_presence_sub_callback, &helper);
switch_safe_free(sql);
sql = switch_mprintf("update sip_subscriptions set version=version+1 where event='dialog' and sub_to_user='%q' "