I am doing like this in the init of my Object :
-(id)initWithBookPath:(NSString*)path {
if (self = [super init]){
self.path = [self.fileSystemPath stringByAppendingPathComponent:@"file.html"];
...
}
return self;
}
the path is declared as : @property(nonatomic, retain) NSString *path;
when i launch instruments, it show me a leak at this line, is this a real memory leak ?
Thanks for your answers
thanks for your answers, instruments show me a leak because i have not do :
self.path =nil;in thedealocmethod. thanks for your answers.