Fix memory leak and possible other issues with custom previews

Mistake in 812ea91842. Fixed that same one before in the branch, I may have
brought it back when resolving merge conflicts.
This commit is contained in:
Julian Eisel 2020-12-14 14:57:30 +01:00
parent 68d5ad9983
commit e3068f38c8
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ PreviewImage *BKE_previewimg_cached_thumbnail_read(const char *name,
}
if (!prv) {
previewimg_deferred_create(path, source);
prv = previewimg_deferred_create(path, source);
force_update = true;
}