Bug 95377

Summary: Possible memory leak in resampler.c
Product: PulseAudio Reporter: Barun Kumar Singh <barun.singh>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Barun Kumar Singh 2016-05-13 08:52:25 UTC

    
Comment 1 Barun Kumar Singh 2016-05-13 09:00:56 UTC
Hi there,

In line no: 423 in src/pulsecore/resampler.c file, lfe_filter pointer is 
allocted and initiated by function "pa_lfe_filter_new". After that, at line no: 428, if init_table is returning < 0 the control is getting transferred to lable fail: from where only variable "r" is freed. I think it needs to free 
"r->lfe_filter" pointer also if it is already allocated. If I am right, then please let me know how can I upload the patch file for this fix.


Thanks
Barun Kr. Singh
Comment 2 GitLab Migration User 2018-07-30 09:38:56 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/73.

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.