Title: [127493] trunk/Source/WebKit/blackberry
- Revision
- 127493
- Author
- [email protected]
- Date
- 2012-09-04 13:22:16 -0700 (Tue, 04 Sep 2012)
Log Message
[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):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/ChangeLog (127492 => 127493)
--- trunk/Source/WebKit/blackberry/ChangeLog 2012-09-04 20:18:48 UTC (rev 127492)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2012-09-04 20:22:16 UTC (rev 127493)
@@ -1,5 +1,17 @@
2012-09-04 George Staikos <[email protected]>
+ [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 <[email protected]>
+
[BlackBerry] pass isMainFrame() through to notifyDocumentOnLoad()
https://bugs.webkit.org/show_bug.cgi?id=95766
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp (127492 => 127493)
--- trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2012-09-04 20:18:48 UTC (rev 127492)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp 2012-09-04 20:22:16 UTC (rev 127493)
@@ -1660,6 +1660,9 @@
// 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;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes