]> git.ipfire.org Git - thirdparty/asterisk.git/commit
T.140: Fix format ref and memory leaks. 99/4799/2
authorRichard Mudgett <rmudgett@digium.com>
Tue, 10 Jan 2017 23:39:02 +0000 (17:39 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 25 Jan 2017 19:46:34 +0000 (13:46 -0600)
commit89221a66288275f14f221d396faec3a129773c68
treee3118522bbd78c80e17bbb3f839588199d1d92b8
parent3837e994d99688cd48050af66d5b15e72e607d9e
T.140: Fix format ref and memory leaks.

* channel.c:ast_sendtext(): Fix T.140 SendText memory leak.

* format_compatibility.c: T.140 RED and T.140 were swapped.

* res_rtp_asterisk.c:rtp_red_init(): Fix ast_format_t140_red ref leak.

* res_rtp_asterisk.c:rtp_red_init(): Fix data race after starting periodic
scheduled red_write().

* res_rtp_asterisk.c: Some other minor misc tweaks.

Change-Id: Ifa27a2e0f8a966b1cf628607c86fc4374b0b88cb
main/channel.c
main/format_compatibility.c
res/res_rtp_asterisk.c