Commit 3b7c79fc authored by Vincent Pinon's avatar Vincent Pinon

Fix memory leak

CID 1323718
parent 56573c12
......@@ -827,6 +827,7 @@ void ProjectClip::slotCreateAudioThumbs()
Mlt::Producer *audioProducer = new Mlt::Producer(*prod->profile(), service.toUtf8().constData(), prod->get("resource"));
if (!audioProducer->is_valid()) {
delete audioProducer;
delete audioLevels;
Mlt::Filter chans(*prod->profile(), "audiochannels");
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