From 4f7ffc7bfcdc51fe8f967f92846550ccfd4063f6 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Sat, 5 Aug 2017 13:11:59 -0500 Subject: [PATCH] FS-10574: fix deadlock on invalid syntax using conference record api --- src/mod/applications/mod_conference/conference_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/applications/mod_conference/conference_api.c b/src/mod/applications/mod_conference/conference_api.c index 829ddccd96..3310fe5418 100644 --- a/src/mod/applications/mod_conference/conference_api.c +++ b/src/mod/applications/mod_conference/conference_api.c @@ -3397,6 +3397,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; } }