]> git.sesse.net Git - kdenlive/commitdiff
Fix memory leak
authorMontel Laurent <montel@kde.org>
Tue, 14 May 2013 14:12:20 +0000 (16:12 +0200)
committerMontel Laurent <montel@kde.org>
Tue, 14 May 2013 14:12:20 +0000 (16:12 +0200)
thumbnailer/westleypreview.cpp

index 4fab7b4ecd71534d17e4fb9fcdffe2644c67482c..9ddd2a86f15453bb403060cf4b5096dfacb68600 100644 (file)
@@ -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;