Make the pa_parse_address() interface less error prone
Submitted by Tanu Kaskinen
Assigned to pul..@..op.org
pa_parse_address() takes a pa_parsed_address struct pointer as a parameter, and fills it with data. The pa_parsed_address.path_or_host field is a dynamically allocated string, and it's very easy to forget to free that string after calling pa_parse_address(). The pa_parse_address() interface should be changed so that it's less easy to leak memory.