diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-05 21:00:54 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-05 21:00:54 +0000 |
commit | 6397b378376611b1c76f484a6fa75b9b6103fdc4 (patch) | |
tree | 434809b595f46ad0ccc6901e2327d5529e354fc1 /channels/chan_mgcp.c | |
parent | c6d1d140260be361be91f71c61f2b7a949b2aa78 (diff) |
Fix MGCP seg (bug #2572)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3916 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-x | channels/chan_mgcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index e1e1e76c1..21cfd163e 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -2883,7 +2883,7 @@ static int handle_request(struct mgcp_subchannel *sub, struct mgcp_request *req, tmp_sub = tmp_ep->sub; while (tmp_sub) { if (tmp_sub->owner) - ast_softhangup(sub->owner, AST_SOFTHANGUP_DEV); + ast_softhangup(tmp_sub->owner, AST_SOFTHANGUP_DEV); tmp_sub = tmp_sub->next; if (tmp_sub == first_sub) break; |