#12706: BParameterGroup::Unflatten() leaks fName
----------------------------+------------------------------
Reporter: ttcoder | Owner: Barrett
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Kits/Media Kit | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
----------------------------+------------------------------
This sequence..
http://xref.plausible.coop/source/xref/haiku/src/kits/media/ParameterWeb.cpp#623
creates a new BParameterGroup and immediately calls Unflatten() on it..
But Unflatten() is not a well behaved citizen
This means the original fName ("unnamed") is leaked, losing 8 bytes
whenever the playback volume is queried or set
--
Ticket URL: <https://dev.haiku-os.org/ticket/12706>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.