X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fcache.C;h=3a0d118e0397f01a28b227d6d2796c186df6e97b;hb=26d01a213db5d4f6ee57224cc9a9ea37bd74318c;hp=ec219d2180e669e7399d087115180fc766d21c7a;hpb=1da768016a2ecba0296b03d75c02879f99a0f582;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cache.C b/cinelerra-5.1/cinelerra/cache.C index ec219d21..3a0d118e 100644 --- a/cinelerra-5.1/cinelerra/cache.C +++ b/cinelerra-5.1/cinelerra/cache.C @@ -176,7 +176,7 @@ int CICache::delete_entry(char *path) while( current && strcmp(current->asset->path, path) !=0 ) current = NEXT; if( !current ) break; - if( current->checked_out ) { + if( !current->checked_out ) { remove_pointer(current); break; }