X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fedl.C;h=a22d3f139fc5aecf451a9cb2a90c3168ca7bf186;hb=8bbd1679c5811ba26608d5fc9ed60cedeb2bc103;hp=8085c77eabebee3bbb79c9b66bc45e894cafd0ea;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/edl.C b/cinelerra-5.0/cinelerra/edl.C index 8085c77e..a22d3f13 100644 --- a/cinelerra-5.0/cinelerra/edl.C +++ b/cinelerra-5.0/cinelerra/edl.C @@ -882,8 +882,9 @@ void EDL::remove_from_project(ArrayList *clips) { if(this->clips.get(j) == clips->values[i]) { - this->clips.get(j)->Garbage::remove_user(); - this->clips.remove(this->clips.get(j)); + EDL *clip = this->clips.get(j); + this->clips.remove(clip); + clip->Garbage::remove_user(); } } }