[LU-2071] Memory leak in procfs handling Created: 01/Oct/12  Updated: 19/Apr/13  Resolved: 12/Oct/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.4.0

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4325

 Description   

There seems to be a minor memory leak in all versions of lustre since at least Feb 2007.

The name##_seq_open does single_open, but corresponding lprocfs_seq_release does seq_release instead of single_release, and as such a bit of memory allocated in single_open remains not freed.
As such every call to lctl leaks 32 bytes.



 Comments   
Comment by Oleg Drokin [ 01/Oct/12 ]

Patch in http://review.whamcloud.com/4150

Comment by Oleg Drokin [ 12/Oct/12 ]

patch landed. issue fixed.

Generated at Sat Feb 10 01:22:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.