summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 08:20:25 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 08:20:25 +0000
commit13a9e86809ec0b88304afe5d2126d24b6750a327 (patch)
tree39a6f9b2d836d114607473cd924624c963edfc65 /webkit/port
parent0ae08494f9a69803822bfeb96fdcbddd94f06baa (diff)
downloadchromium_src-13a9e86809ec0b88304afe5d2126d24b6750a327.zip
chromium_src-13a9e86809ec0b88304afe5d2126d24b6750a327.tar.gz
chromium_src-13a9e86809ec0b88304afe5d2126d24b6750a327.tar.bz2
Fix delete to be delete[].
(fix from craig.schlenter@gmail.com) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/bindings/v8/v8_proxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/bindings/v8/v8_proxy.cpp b/webkit/port/bindings/v8/v8_proxy.cpp
index 1344543..3bbbe21 100644
--- a/webkit/port/bindings/v8/v8_proxy.cpp
+++ b/webkit/port/bindings/v8/v8_proxy.cpp
@@ -2315,7 +2315,7 @@ void V8Proxy::InitContextIfNeeded()
}
v8::ExtensionConfiguration extensions(m_extensions.size(), extension_names);
m_context = v8::Context::New(&extensions, global_template, m_global);
- delete extension_names;
+ delete [] extension_names;
extension_names = 0;
if (m_context.IsEmpty())