summaryrefslogtreecommitdiff
path: root/res/res_fax.c
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2012-02-03 16:23:21 +0000
committerJonathan Rose <jrose@digium.com>2012-02-03 16:23:21 +0000
commit79979313e84f39198812841ac36a44fa990550df (patch)
tree4159e5aa29a28b73be21cb5bb3f7d9d4037d3ddc /res/res_fax.c
parent29318afc154b0880aeed2a668786e69260eede26 (diff)
Fixes a segfault occuring when performing attended transfer with FAXOPT(gateway)=yes
(closes issue ASTERISK-19184) Reported by: Alexandr ........ Merged revisions 353962 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_fax.c')
-rw-r--r--res/res_fax.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_fax.c b/res/res_fax.c
index 7e1a0c20a..29f695cfb 100644
--- a/res/res_fax.c
+++ b/res/res_fax.c
@@ -2919,7 +2919,6 @@ static struct ast_frame *fax_gateway_framehook(struct ast_channel *chan, struct
if (!(details = find_details(chan))) {
ast_log(LOG_ERROR, "no FAX session details found on chan %s for T.38 gateway session, odd\n", ast_channel_name(chan));
ast_framehook_detach(chan, gateway->framehook);
- details->gateway_id = -1;
return f;
}
}