FS-10574: fix deadlock on invalid syntax using conference record api

This commit is contained in:
Mike Jerris 2017-08-05 13:11:59 -05:00
parent febfb385aa
commit 6a73479e7f
1 changed files with 1 additions and 0 deletions

View File

@ -2707,6 +2707,7 @@ switch_status_t conference_api_sub_record(conference_obj_t *conference, switch_s
if (!strcmp(path_a, path_b)) {
stream->write_function(stream, "-ERR file [%s] is already being used for recording.\n", rec->path);
switch_mutex_unlock(conference->flag_mutex);
return SWITCH_STATUS_SUCCESS;
}
}