[vlmc-devel] [PATCH] Fix segmentation fault by deleting the same object twice
Yikai Lu
luyikei.qmltu at gmail.com
Sat Mar 5 17:10:58 CET 2016
There is
Core::~Core()
{
...
delete m_workflowRenderer;
...
}
So there is no need to delete the same object in the preview widget.
---
src/Gui/preview/PreviewWidget.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/Gui/preview/PreviewWidget.cpp b/src/Gui/preview/PreviewWidget.cpp
index 1102c92..5547e53 100644
--- a/src/Gui/preview/PreviewWidget.cpp
+++ b/src/Gui/preview/PreviewWidget.cpp
@@ -59,7 +59,6 @@ PreviewWidget::PreviewWidget( QWidget *parent )
PreviewWidget::~PreviewWidget()
{
- delete m_renderer;
delete m_ui;
}
--
1.9.1
More information about the Vlmc-devel
mailing list