diff --git a/main/pbx.c b/main/pbx.c index 267717e48d..77590963fe 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -11858,8 +11858,6 @@ static void presence_state_cb(void *unused, struct stasis_subscription *sub, str return; } - ast_mutex_lock(&context_merge_lock);/* Hold off ast_merge_contexts_and_delete */ - cmpdevice = ast_alloca(sizeof(*cmpdevice) + strlen(presence_state->provider)); strcpy(cmpdevice->hintdevice, presence_state->provider);