Lines Matching refs:leak
241 …utableArrayRef A = CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning{{leak}}
248 …utableArrayRef A = CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning{{leak}}
260 …utableArrayRef A = CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks); // expected-warning{{leak}}
275 …[(id) CFArrayCreateMutable(0, 10, &kCFTypeArrayCallBacks) autorelease]; // expected-warning{{leak}}
287 …NSString *s = [NSString stringWithUTF8String:"hello"]; // expected-warning{{Potential leak (when u…
327 [context createCGImage:img fromRect:rect]; // expected-warning{{leak}}
328 [context createCGImage:img fromRect:rect format:form colorSpace:cs]; // expected-warning{{leak}}
366 NSString *str = [X returnsAnOwnedCFString]; // expected-warning{{leak}}
382 return (NSDate*) returnsRetainedCFDate(); // No leak.
386 return (NSDate*) returnsRetainedCFDate(); // expected-warning{{leak}}
390 return (NSDate*) returnsRetainedCFDate(); // expected-warning{{leak}}