diff options
author | Benny Prijono <bennylp@teluu.com> | 2013-03-13 04:47:19 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2013-03-13 04:47:19 +0000 |
commit | 041b868c2e4109432c177a801ed1a9366bfb7c6b (patch) | |
tree | 606d31062b30dbe411782556af87742d58818b7a /pjsip/src/pjsua-lib | |
parent | a917bcbd271fb4a0751793317f79b17a0ae8966d (diff) |
Fixed #1642: Media transport may not be cleaned up if call is hung up quickly
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4439 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index f0d75f5b..7f95707a 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -530,8 +530,8 @@ on_error: } if (call_id != -1) { - reset_call(call_id); pjsua_media_channel_deinit(call_id); + reset_call(call_id); } call->med_ch_cb = NULL; @@ -790,8 +790,8 @@ on_error: } if (call_id != -1) { - reset_call(call_id); pjsua_media_channel_deinit(call_id); + reset_call(call_id); } if (tmp_pool) |