From: Good Guy Date: Tue, 24 Jan 2023 17:58:58 +0000 (-0700) Subject: memory leak resolution X-Git-Tag: 2023-01~4 X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=a83adbeeb3f8ecac29680f10b2c0bffcdd77008c;p=goodguy%2Fcinelerra.git memory leak resolution --- 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);