1.1 --- a/MYDirectoryWatcher.m Thu May 14 20:44:32 2009 -0700
1.2 +++ b/MYDirectoryWatcher.m Wed May 20 08:34:04 2009 -0700
1.3 @@ -35,7 +35,7 @@
1.4 self = [super init];
1.5 if (self != nil) {
1.6 _path = path.copy;
1.7 - _standardizedPath = [_path stringByStandardizingPath];
1.8 + _standardizedPath = [[_path stringByStandardizingPath] copy];
1.9 _target = target;
1.10 _action = action;
1.11 _latency = 5.0;
1.12 @@ -48,6 +48,7 @@
1.13 {
1.14 [self stop];
1.15 [_path release];
1.16 + [_standardizedPath release];
1.17 [super dealloc];
1.18 }
1.19