Bug 89537

Summary: Make the pa_parse_address() interface less error prone
Product: PulseAudio Reporter: Tanu Kaskinen <tanuk>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecifiedKeywords: love
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tanu Kaskinen 2015-03-11 16:54:30 UTC
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.
Comment 1 GitLab Migration User 2018-07-30 09:33:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/9.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.