chan_rtp.c: Change MulticastRTP nameing to avoid memory leak
Fixes: asterisk#536
This commit is contained in:
parent
5cf75f9b2c
commit
25fec97428
|
@ -211,7 +211,7 @@ static struct ast_channel *multicast_rtp_request(const char *type, struct ast_fo
|
|||
}
|
||||
|
||||
chan = ast_channel_alloc(1, AST_STATE_DOWN, "", "", "", "", "", assignedids,
|
||||
requestor, 0, "MulticastRTP/%p", instance);
|
||||
requestor, 0, "MulticastRTP/%s-%p", args.destination, instance);
|
||||
if (!chan) {
|
||||
ast_rtp_instance_destroy(instance);
|
||||
goto failure;
|
||||
|
|
Loading…
Reference in New Issue