Bug 95377 - Possible memory leak in resampler.c
Summary: Possible memory leak in resampler.c
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-13 08:52 UTC by Barun Kumar Singh
Modified: 2018-07-30 09:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.