Changeset 80599 in webkit
- Timestamp:
- Mar 8, 2011 3:43:23 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r80586 r80599 1 2011-03-08 Jessie Berlin <jberlin@apple.com> 2 3 Rubber-stamped by Adam Roben. 4 5 Fix two leaks I introduced into the API tests. 6 7 * TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp: 8 (TestWebKitAPI::TEST): 9 1 10 2011-03-08 Jessie Berlin <jberlin@apple.com> 2 11 -
trunk/Tools/TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp
r80586 r80599 35 35 { 36 36 // Neither of these calls should cause a crash. 37 WKRetainPtr<WKURLResponseRef> nullWKResponse = WKURLResponseCreateWithCFURLResponse(0);38 RetainPtr<CFURLResponseRef> nullCFResponse = WKURLResponseCopyCFURLResponse(kCFAllocatorDefault, nullWKResponse.get());37 WKRetainPtr<WKURLResponseRef> nullWKResponse(AdoptWK, WKURLResponseCreateWithCFURLResponse(0)); 38 RetainPtr<CFURLResponseRef> nullCFResponse(AdoptCF, WKURLResponseCopyCFURLResponse(kCFAllocatorDefault, nullWKResponse.get())); 39 39 } 40 40
Note: See TracChangeset
for help on using the changeset viewer.