]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Free endpoint ACLs when destroying PJSIP endpoints. 74/4774/1
authorMark Michelson <mmichelson@digium.com>
Mon, 23 Jan 2017 22:18:18 +0000 (16:18 -0600)
committerMark Michelson <mmichelson@digium.com>
Mon, 23 Jan 2017 22:22:45 +0000 (16:22 -0600)
commit27c7d6d6443f5a9d7c17a3bfafa77a31fa89aa47
treedf903545b88c7e3ed103a8a5fc6ca8150f6eced2
parent6c7dd697559e564804a4afec810419c0f5d93c4c
Free endpoint ACLs when destroying PJSIP endpoints.

If endpoint ACLs were specified, they were not being freed
when endpoints were destroyed. On systems with realtime endpoints, this
could add up quickly since each DB lookup would allocate the ACL without
freeing it.

ASTERISK-26731 #close
Reported by Ustinov Artem

Change-Id: Ie1f8bf5b7a0de628c975beba01e69c56893331ad
res/res_pjsip/pjsip_configuration.c