From 8ef19daa1a54f393049a4d3233f612cd12d38009 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Tue, 1 Sep 2009 00:49:10 +0000 Subject: [PATCH] mod_openzap: fix missing rwunlock git-svn-id: http://svn.openzap.org/svn/openzap/trunk@815 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/mod_openzap/mod_openzap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/openzap/mod_openzap/mod_openzap.c b/libs/openzap/mod_openzap/mod_openzap.c index 905627920f..87bce7353f 100644 --- a/libs/openzap/mod_openzap/mod_openzap.c +++ b/libs/openzap/mod_openzap/mod_openzap.c @@ -1286,6 +1286,7 @@ static ZIO_SIGNAL_CB_FUNCTION(on_fxo_signal) if ((session = zap_channel_get_session(sigmsg->channel, 0))) { channel = switch_core_session_get_channel(session); switch_channel_mark_pre_answered(channel); + switch_core_session_rwunlock(session); } } break;