]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Fix memory leak of hosts when resolving. 31/4831/3
authorJoshua Colp <jcolp@digium.com>
Thu, 26 Jan 2017 13:57:59 +0000 (13:57 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 26 Jan 2017 16:59:06 +0000 (10:59 -0600)
commit66bed4cc8468de29adb72ddcda69e4ad40402e65
tree60840bb15455100a9c5e19a9ca52f4b1b449c4d6
parentb331cb84d56bd0ad83bd86d87ef335da93aeef22
res_pjsip_endpoint_identifier_ip: Fix memory leak of hosts when resolving.

This change adds a missing unreference of the hostname when resolving and
also cleans up the iterator.

ASTERISK-26735

Change-Id: Ic012ebaf3d89e714eec340b7b0c5e63c66af857a
res/res_pjsip_endpoint_identifier_ip.c