summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/keychainAPI.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/keychainAPI.m')
-rw-r--r--clang/test/Analysis/keychainAPI.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/keychainAPI.m b/clang/test/Analysis/keychainAPI.m
index c91982fef0d..ce2ff206cfd 100644
--- a/clang/test/Analysis/keychainAPI.m
+++ b/clang/test/Analysis/keychainAPI.m
@@ -274,8 +274,8 @@ void DellocWithCFStringCreate2(CFAllocatorRef alloc) {
char * x;
st = SecKeychainItemCopyContent(2, ptr, ptr, &length, &bytes);
if (st == noErr) {
- CFStringRef userStr = CFStringCreateWithBytesNoCopy(alloc, bytes, length, 5, 0, kCFAllocatorNull); // expected-warning{{Allocated data is not released}}
- CFRelease(userStr);
+ CFStringRef userStr = CFStringCreateWithBytesNoCopy(alloc, bytes, length, 5, 0, kCFAllocatorNull);
+ CFRelease(userStr); // expected-warning{{Allocated data is not released}}
}
}
OpenPOWER on IntegriCloud