[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
Christopher Snowhill 2022-07-27 06:35:45 -07:00
parent 7cb22cfeb0
commit 4ec2146549
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@
}
- (void)dealloc {
CFRelease(_query);
if(_query) CFRelease(_query);
}
@end