]> git.ipfire.org Git - thirdparty/asterisk.git/commit
T.140: Fix format ref and memory leaks. 98/4798/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:44:26 +0000 (13:44 -0600)
commitc54f9d2bf01ab943c122c5326da52decf6e492cd
treedf9126ab980be0f7c5fcb99839784346ba42418b
parente51193bf720647b7b12fc33405b01470699f3c48
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