[Cocoa] Avoid some double-wrapping of strings and URLs
[WebKit-https.git] / Source / WebKit2 / Shared / API / c / cf / WKErrorCF.h
index 298f7c29134a3a3b994f310247ab0db99b164a29..00a4dfe8861cc8c1b2a1c5af4ddc8fd8e81c48af 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
 #endif
 
 WK_EXPORT WKErrorRef WKErrorCreateWithCFError(CFErrorRef error);
-WK_EXPORT CFErrorRef WKErrorCopyCFError(CFAllocatorRef alloc, WKErrorRef error);
+WK_EXPORT CFErrorRef WKErrorCopyCFError(CFAllocatorRef alloc, WKErrorRef error) CF_RETURNS_RETAINED;
 
 #ifdef __cplusplus
 }