Commit 8e5dc5a087 for freeswitch.com

commit 8e5dc5a087634145e5fc68b4e6a693d7723fe643
Author: Andrey Volk <andywolk@gmail.com>
Date:   Wed Dec 29 22:05:20 2021 +0300

    [mod_opusfile] Fix missing rdlock unlock in switch_opusfile_open()

diff --git a/src/mod/formats/mod_opusfile/mod_opusfile.c b/src/mod/formats/mod_opusfile/mod_opusfile.c
index afd5f51267..1560142263 100644
--- a/src/mod/formats/mod_opusfile/mod_opusfile.c
+++ b/src/mod/formats/mod_opusfile/mod_opusfile.c
@@ -295,6 +295,7 @@ static switch_status_t switch_opusfile_open(switch_file_handle_t *handle, const
 	context->of = op_open_file(path, &ret);
 	if (!context->of) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "[OGG/OPUS File] Error opening %s\n", path);
+		switch_thread_rwlock_unlock(context->rwlock);
 		return SWITCH_STATUS_GENERR;
 	}