Commit ad7af332 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Clip: Destroy the media when deleting the base clip/root clip

parent 2a8e06a2
......@@ -87,6 +87,8 @@ Clip::Clip( Clip *parent, qint64 begin /*= -1*/, qint64 end /*= -1*/,
Clip::~Clip()
{
delete m_childs;
if ( isRootClip() == true )
delete m_media;
}
qint64
......
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