diff options
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 93c27e1fe90..630c9aed157 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -1372,9 +1372,6 @@ static void filelist_entry_clear(FileDirEntry *entry) if (entry->name && ((entry->flags & FILE_ENTRY_NAME_FREE) != 0)) { MEM_freeN(entry->name); } - if (entry->description) { - MEM_freeN(entry->description); - } if (entry->relpath) { MEM_freeN(entry->relpath); } @@ -1952,7 +1949,6 @@ static FileDirEntry *filelist_file_create_entry(FileList *filelist, const int in else { ret->name = entry->name; } - ret->description = BLI_strdupcat(filelist->filelist.root, entry->relpath); ret->uid = entry->uid; ret->blentype = entry->blentype; ret->typeflag = entry->typeflag; diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 1321bd669f1..7290647dbc6 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -1025,7 +1025,6 @@ typedef struct FileDirEntry { /* Name needs freeing if FILE_ENTRY_NAME_FREE is set. Otherwise this is a direct pointer to a * name buffer. */ char *name; - char *description; uint64_t size; int64_t time; |