mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:20:38 +00:00
Use autorelease pool macros
This commit is contained in:
parent
f37e93a440
commit
b70fad26a6
1 changed files with 2 additions and 2 deletions
|
@ -1172,7 +1172,7 @@ to this method from the text container or layout manager.
|
|||
- (void) setTextContainer: (NSTextContainer *)container
|
||||
{
|
||||
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
ENTER_POOL
|
||||
|
||||
NSUInteger i, c;
|
||||
NSArray *tcs;
|
||||
|
@ -1238,7 +1238,7 @@ to this method from the text container or layout manager.
|
|||
|
||||
[self _updateMultipleTextViews];
|
||||
|
||||
[pool drain];
|
||||
LEAVE_POOL
|
||||
}
|
||||
|
||||
- (void) replaceTextContainer: (NSTextContainer *)newContainer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue