https://bugs.freedesktop.org/show_bug.cgi?id=89537

            Bug ID: 89537
           Summary: Make the pa_parse_address() interface less error prone
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to