]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Free endpoint ACLs when destroying PJSIP endpoints. 72/4772/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:20:42 +0000 (16:20 -0600)
commit75497c33ea4f52d969c0d845ab30d0c152c34c4d
treee25edd36e0382ff74084827555c0cd3a2442d764
parentfb21931a5295140e28878d8a83b0baa18424771b
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