[pulseaudio-tickets] [Bug 95293] New: Possible memory leak in src/modules/module-filter-apply.c

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 6 06:29:28 UTC 2016


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

            Bug ID: 95293
           Summary: Possible memory leak in
                    src/modules/module-filter-apply.c
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: modules
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: sachin.kc at samsung.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

In below function, 

static pa_hook_result_t process(struct userdata *u, pa_object *o, bool
is_sink_input);

there seems a memory leak at Line No 452.


if (should_group_filter(fltr) && !find_paired_master(u, fltr, o,
is_sink_input)) {
    pa_log_debug("Want group filtering but don't have enough streams.");
    return PA_HOOK_OK;
}

It is returning without freeing memory allocated to module_name.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160506/d3e4f15b/attachment.html>


More information about the pulseaudio-bugs mailing list