Commit bf435db0 authored by staikos@webkit.org's avatar staikos@webkit.org

[BlackBerry] Fix memory leak in InputHandler

https://bugs.webkit.org/show_bug.cgi?id=95771

Reviewed by Rob Buis.

Simply delete the arrays at function exit.

* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::openSelectPopup):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bf15a92d
2012-09-04 George Staikos <staikos@webkit.org>
[BlackBerry] Fix memory leak in InputHandler
https://bugs.webkit.org/show_bug.cgi?id=95771
Reviewed by Rob Buis.
Simply delete the arrays at function exit.
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::openSelectPopup):
2012-09-04 George Staikos <staikos@webkit.org>
[BlackBerry] pass isMainFrame() through to notifyDocumentOnLoad()
......
......@@ -1660,6 +1660,9 @@ bool InputHandler::openSelectPopup(HTMLSelectElement* select)
// Fail to create HTML popup, use the old path
if (!m_webPage->m_page->chrome()->client()->openPagePopup(selectClient, elementRectInRootView))
m_webPage->m_client->openPopupList(multiple, size, labels, enableds, itemTypes, selecteds);
delete[] enableds;
delete[] itemTypes;
delete[] selecteds;
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment