]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Fix memory leak of hosts when resolving. 30/4830/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:58:20 +0000 (16:58 +0000)
commitaae9df06433512f58701daf66ae99c292d6c9908
treee63a8df4f65a9065e8aedbfa49e7bf0d14aa0455
parentda098e2227453600a8c62e1e86934ea6fc460e29
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