Title: [179137] trunk/Source/WebCore
- Revision
- 179137
- Author
- [email protected]
- Date
- 2015-01-26 12:57:36 -0800 (Mon, 26 Jan 2015)
Log Message
Plug leak in jsValueWithDictionaryInContext().
<https://webkit.org/b/140889>
Reviewed by Alexey Proskuryakov.
Add a missing JSStringRelease to plug leak that was showing up on leaks bot.
* platform/mac/SerializedPlatformRepresentationMac.mm:
(WebCore::jsValueWithDictionaryInContext):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (179136 => 179137)
--- trunk/Source/WebCore/ChangeLog 2015-01-26 20:56:02 UTC (rev 179136)
+++ trunk/Source/WebCore/ChangeLog 2015-01-26 20:57:36 UTC (rev 179137)
@@ -1,3 +1,15 @@
+2015-01-26 Andreas Kling <[email protected]>
+
+ Plug leak in jsValueWithDictionaryInContext().
+ <https://webkit.org/b/140889>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Add a missing JSStringRelease to plug leak that was showing up on leaks bot.
+
+ * platform/mac/SerializedPlatformRepresentationMac.mm:
+ (WebCore::jsValueWithDictionaryInContext):
+
2015-01-26 Benjamin Poulain <[email protected]>
Fix CSS Selector's tag name matching when mixing HTML and XML
Modified: trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.mm (179136 => 179137)
--- trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.mm 2015-01-26 20:56:02 UTC (rev 179136)
+++ trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.mm 2015-01-26 20:57:36 UTC (rev 179137)
@@ -196,6 +196,7 @@
JSStringRef name = JSStringCreateWithCFString((CFStringRef)key);
JSObjectSetProperty([context JSGlobalContextRef], resultObject, name, [value JSValueRef], 0, &exception);
+ JSStringRelease(name);
if (exception)
continue;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes