]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_ari: fix memory leak for channelvars 86/4886/1
authorSebastien Duthil <sduthil@wazo.community>
Fri, 3 Feb 2017 21:26:23 +0000 (16:26 -0500)
committerSebastien Duthil <sduthil@wazo.community>
Fri, 3 Feb 2017 21:42:33 +0000 (16:42 -0500)
commitf9beac807127f436d0955205f7e63b985b12eb44
tree97eee8d6a342ae5f8e6bb7d0585439b1cc0393f7
parentfc7258b05314e8ed3145e7fd2eb2eda9293e8767
res_ari: fix memory leak for channelvars

In ari.conf, when setting the option channelvars, every Stasis channel
snapshot would create a list of variable/value that would not be freed
when the snapshot is freed, resulting in a often-recurring memory
leak.

ASTERISK-26767 #close

Change-Id: Ia37dd9d68063d7f879193df02ede293e5ded716d
main/stasis_channels.c