Fix a subtle memory management issue

This commit is contained in:
Wolfgang Lux 2021-07-29 11:20:30 +02:00
parent 9f67be1f44
commit cf5a235008

View file

@ -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
{