Commit 22217ee3 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Solved memory leak

parent cb79133d
...@@ -422,6 +422,7 @@ Clip* TrackWorkflow::removeClip( const QUuid& id ) ...@@ -422,6 +422,7 @@ Clip* TrackWorkflow::removeClip( const QUuid& id )
Clip* clip = cw->getClip(); Clip* clip = cw->getClip();
m_clips.erase( it ); m_clips.erase( it );
computeLength(); computeLength();
delete cw;
return clip; return clip;
} }
++it; ++it;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment