]> git.sesse.net Git - kdenlive/blobdiff - src/kthumb.cpp
[valgrind] unfixed memleak
[kdenlive] / src / kthumb.cpp
index c92f72d4f51a4d187cc39c18ae773e29ef94d3d2..dbbe01e3a5a95f6b9f0116c1f4477f247b857566 100644 (file)
@@ -146,6 +146,8 @@ KThumb::~KThumb()
 void KThumb::setProducer(Mlt::Producer *producer)
 {
     m_producer = producer;
+    // FIXME: the profile() call leaks an object, but trying to free
+    // it leads to a double-free in Profile::~Profile()
     m_dar = producer->profile()->dar();
 }