From a83adbeeb3f8ecac29680f10b2c0bffcdd77008c Mon Sep 17 00:00:00 2001 From: Good Guy Date: Tue, 24 Jan 2023 10:58:58 -0700 Subject: [PATCH] memory leak resolution --- cinelerra-5.1/cinelerra/cache.C | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cinelerra-5.1/cinelerra/cache.C b/cinelerra-5.1/cinelerra/cache.C index 9186f1f0..a024fc43 100644 --- a/cinelerra-5.1/cinelerra/cache.C +++ b/cinelerra-5.1/cinelerra/cache.C @@ -118,13 +118,9 @@ File* CICache::check_out(Asset *asset, EDL *edl, int block) // cache deleted during checkout, destroy this if( users == 1 ) { remove_user(); - total_lock->unlock(); return 0; } - //printf("users: %i \n", users ); - EDL *parent = edl->parent_edl; - if(parent) remove_user(); total_lock->unlock(); //printf("check out %p %lx %s\n", current, tid, asset->path); -- 2.26.2