Changeset 241034 in webkit
- Timestamp:
- Feb 6, 2019 11:32:31 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r241024 r241034 1 2019-02-06 David Kilzer <ddkilzer@apple.com> 2 3 WTR::InjectedBundlePage::willSendRequestForFrame() leaks a WKDataRef 4 <https://webkit.org/b/194286> 5 <rdar://problem/47815558> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: 10 (WTR::InjectedBundlePage::willSendRequestForFrame): Use 11 WKRetainPtr<> to avoid leaking the WKDataRef. 12 1 13 2019-02-06 Michael Catanzaro <mcatanzaro@igalia.com> 2 14 -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
r239848 r241034 1212 1212 if (!body.isEmpty()) { 1213 1213 CString cBody = body.utf8(); 1214 return WKURLRequestCopySettingHTTPBody(request, WKDataCreate(reinterpret_cast<const unsigned char*>(cBody.data()), cBody.length())); 1214 WKRetainPtr<WKDataRef> body = adoptWK(WKDataCreate(reinterpret_cast<const unsigned char*>(cBody.data()), cBody.length())); 1215 return WKURLRequestCopySettingHTTPBody(request, body.get()); 1215 1216 } 1216 1217 }
Note: See TracChangeset
for help on using the changeset viewer.