Fix typo in test case.

llvm-svn: 53024
This commit is contained in:
Ted Kremenek 2008-07-02 15:28:06 +00:00
parent 1b1a711eb3
commit 494e98d0e5
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ extern NSString *NSWindowDidBecomeKeyNotification;
{ {
NSPanel *panel = [[NSPanel alloc] initWithContentRect:NSMakeRect(0, 0, 200, 200) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:(BOOL)1]; NSPanel *panel = [[NSPanel alloc] initWithContentRect:NSMakeRect(0, 0, 200, 200) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:(BOOL)1];
[panel addObject:panel]; // expected-warning{{leak}} [panels addObject:panel]; // expected-warning{{leak}}
} }
@end @end