From: Good Guy Date: Sat, 20 Jun 2020 23:32:20 +0000 (-0600) Subject: fix cache bug in last update X-Git-Tag: 2020-06~7 X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=b2dd11566e4788acc8d38bdfbc20c8d5772106e5;p=goodguy%2Fcinelerra.git fix cache bug in last update --- 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; }