mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 673052: Fix JS shell option parser argument leak. (r=dvander)
This commit is contained in:
parent
3df774710d
commit
51af6b197d
@ -463,6 +463,8 @@ OptionParser::~OptionParser()
|
|||||||
{
|
{
|
||||||
for (Option **it = options.begin(), **end = options.end(); it != end; ++it)
|
for (Option **it = options.begin(), **end = options.end(); it != end; ++it)
|
||||||
Foreground::delete_<Option>(*it);
|
Foreground::delete_<Option>(*it);
|
||||||
|
for (Option **it = arguments.begin(), **end = arguments.end(); it != end; ++it)
|
||||||
|
Foreground::delete_<Option>(*it);
|
||||||
}
|
}
|
||||||
|
|
||||||
Option *
|
Option *
|
||||||
|
Loading…
Reference in New Issue
Block a user