diff --git a/FileTree/SmartFolderNode.m b/FileTree/SmartFolderNode.m index 9ace4eda5..b71eedf1a 100644 --- a/FileTree/SmartFolderNode.m +++ b/FileTree/SmartFolderNode.m @@ -93,7 +93,7 @@ } - (void)dealloc { - CFRelease(_query); + if(_query) CFRelease(_query); } @end