From b2dd11566e4788acc8d38bdfbc20c8d5772106e5 Mon Sep 17 00:00:00 2001 From: Good Guy Date: Sat, 20 Jun 2020 17:32:20 -0600 Subject: [PATCH] fix cache bug in last update --- cinelerra-5.1/cinelerra/cache.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.26.2