From 51af6b197df5f7b2d951a7be543e9f4c62cfc250 Mon Sep 17 00:00:00 2001 From: Chris Leary Date: Thu, 21 Jul 2011 12:14:20 -0700 Subject: [PATCH] Bug 673052: Fix JS shell option parser argument leak. (r=dvander) --- js/src/shell/jsoptparse.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/shell/jsoptparse.cpp b/js/src/shell/jsoptparse.cpp index 8aa2891f832..92ec79210ca 100644 --- a/js/src/shell/jsoptparse.cpp +++ b/js/src/shell/jsoptparse.cpp @@ -463,6 +463,8 @@ OptionParser::~OptionParser() { for (Option **it = options.begin(), **end = options.end(); it != end; ++it) Foreground::delete_