]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Fix memory leak of hosts when resolving. 32/4832/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:10 +0000 (10:59 -0600)
commit7fa3de7ae9146f5267f45feb9fbf1c523bcaf7d4
tree2e67c3476116db0aa351452d8638fa7f5aa29741
parent96dbf54e971952bb99b6e80ddf8929340bd107d4
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