]> git.sesse.net Git - kdenlive/blobdiff - thumbnailer/westleypreview.cpp
const'ref. Fix coding style. Minor optimization
[kdenlive] / thumbnailer / westleypreview.cpp
index 4fab7b4ecd71534d17e4fb9fcdffe2644c67482c..7866a4ce4125865025f91b0a98dcd068e9e08b7c 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;
@@ -157,3 +158,5 @@ ThumbCreator::Flags MltPreview::flags() const
 }
 
 
+
+#include "westleypreview.moc"