]> git.saurik.com Git - apple/security.git/blobdiff - OSX/sec/securityd/SecItemDb.c
Security-57740.51.3.tar.gz
[apple/security.git] / OSX / sec / securityd / SecItemDb.c
index 3df04a2d507f92b2f807e5e6e4e819690ec24087..a22546e7c25ed1c64ba950147932ad3542523ac4 100644 (file)
@@ -561,7 +561,7 @@ static void SecDbAppendLimit(CFMutableStringRef sql, CFIndex limit) {
         CFStringAppendFormat(sql, NULL, CFSTR(" LIMIT %" PRIdCFIndex), limit);
 }
 
-static CFStringRef s3dl_select_sql(Query *q, CFArrayRef accessGroups) {
+static CF_RETURNS_RETAINED CFStringRef s3dl_select_sql(Query *q, CFArrayRef accessGroups) {
     CFMutableStringRef sql = CFStringCreateMutable(NULL, 0);
        if (q->q_class == &identity_class) {
         CFStringAppendFormat(sql, NULL, CFSTR("SELECT crowid, %@"