Bug 169057 - Setting Options that save the original string, more than once leaks memory
Summary: Setting Options that save the original string, more than once leaks memory
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-01 14:22 PST by Michael Saboff
Modified: 2017-03-01 22:31 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2017-03-01 14:22:29 PST
The OptionRange and optionString typed Options save a copy of the parsed string used to set the option.  If one of those options is set multiple times, it can leak memory.  This is considered to be a low risk since setting Options is done usually for development and testing and Options are rarely set multiple times.