From: Montel Laurent Date: Tue, 14 May 2013 14:12:20 +0000 (+0200) Subject: Fix memory leak X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7ee8b6e016e56b78ee1a1a974cf263c1b3bcde17;p=kdenlive Fix memory leak --- diff --git a/thumbnailer/westleypreview.cpp b/thumbnailer/westleypreview.cpp index 4fab7b4e..9ddd2a86 100644 --- a/thumbnailer/westleypreview.cpp +++ b/thumbnailer/westleypreview.cpp @@ -67,6 +67,7 @@ bool MltPreview::create(const QString &path, int width, int height, QImage &img) if (producer->is_blank()) { delete producer; + delete profile; return false; } int frame = 75;