[File Tree] Only free Smart Folder query if used
Only free the query if it was successfully allocated. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
7cb22cfeb0
commit
4ec2146549
|
@ -93,7 +93,7 @@
|
|||
}
|
||||
|
||||
- (void)dealloc {
|
||||
CFRelease(_query);
|
||||
if(_query) CFRelease(_query);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue