Fix crash in histogram scope, I don't even understand how it possibly worked before...

svn path=/trunk/kdenlive/; revision=5694
parent 8c3522be
......@@ -50,12 +50,13 @@ Histogram::Histogram(MonitorManager *manager, QWidget *parent) :
Q_ASSERT(b);
init();
m_histogramGenerator = new HistogramGenerator();
}
Histogram::~Histogram()
{
writeConfig();
delete m_histogramGenerator;
delete ui;
delete m_aUnscaled;
delete m_aRec601;
......
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