Title: [158240] trunk/Tools
- Revision
- 158240
- Author
- [email protected]
- Date
- 2013-10-29 17:25:07 -0700 (Tue, 29 Oct 2013)
Log Message
Fix memory leak in Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp
https://bugs.webkit.org/show_bug.cgi?id=123478
Reviewed by Anders Carlsson.
* DumpRenderTree/TestNetscapePlugIn/main.cpp:
(NPP_Destroy): Add a missing free() for 'obj->evaluateScriptOnMouseDownOrKeyDown'.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (158239 => 158240)
--- trunk/Tools/ChangeLog 2013-10-29 23:33:02 UTC (rev 158239)
+++ trunk/Tools/ChangeLog 2013-10-30 00:25:07 UTC (rev 158240)
@@ -1,3 +1,13 @@
+2013-10-29 Seokju Kwon <[email protected]>
+
+ Fix memory leak in Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=123478
+
+ Reviewed by Anders Carlsson.
+
+ * DumpRenderTree/TestNetscapePlugIn/main.cpp:
+ (NPP_Destroy): Add a missing free() for 'obj->evaluateScriptOnMouseDownOrKeyDown'.
+
2013-10-29 Lucas Forschler <[email protected]>
Move the SEO bots from testers to archivers.
Modified: trunk/Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp (158239 => 158240)
--- trunk/Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp 2013-10-29 23:33:02 UTC (rev 158239)
+++ trunk/Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp 2013-10-30 00:25:07 UTC (rev 158240)
@@ -324,7 +324,10 @@
if (obj->onPaintEvent)
free(obj->onPaintEvent);
-
+
+ if (obj->evaluateScriptOnMouseDownOrKeyDown)
+ free(obj->evaluateScriptOnMouseDownOrKeyDown);
+
if (obj->logDestroy)
pluginLog(instance, "NPP_Destroy");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes