mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-16 00:21:01 +00:00
Fix a subtle memory management issue
This commit is contained in:
parent
9f67be1f44
commit
cf5a235008
1 changed files with 1 additions and 1 deletions
|
@ -1604,7 +1604,7 @@ replaceFields(NSDictionary *fields, NSString *template)
|
|||
[lock lock];
|
||||
array = RETAIN(rules);
|
||||
[lock unlock];
|
||||
[self applyRules: AUTORELEASE(rules) toEvent: event];
|
||||
[self applyRules: AUTORELEASE(array) toEvent: event];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue