Fixed various memory leaks as reported by AddressSanitizer
This commit is contained in:
@@ -720,6 +720,7 @@ void FileCatalog::previewReady (int dir_id, FileBrowserEntry* fdn)
|
||||
{
|
||||
|
||||
if ( dir_id != selectedDirectoryId ) {
|
||||
delete fdn;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user