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

View File

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