[vlmc-devel] Core: Delete objects in the reversed order of their creation

Yikai Lu git at videolan.org
Fri Jun 2 13:58:44 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Fri Jun  2 20:54:13 2017 +0900| [8656118afba6f5b17d2d248813faa8b4340c174c] | committer: Yikai Lu

Core: Delete objects in the reversed order of their creation

> https://code.videolan.org/videolan/vlmc/commit/8656118afba6f5b17d2d248813faa8b4340c174c
---

 src/Main/Core.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Main/Core.cpp b/src/Main/Core.cpp
index d5f16a5d..6d82d2d4 100644
--- a/src/Main/Core.cpp
+++ b/src/Main/Core.cpp
@@ -66,10 +66,10 @@ Core::Core()
 
 Core::~Core()
 {
-    delete m_library;
     delete m_workflow;
-    delete m_currentProject;
+    delete m_library;
     delete m_workspace;
+    delete m_currentProject;
     delete m_settings;
     delete m_backend;
     delete m_logger;



More information about the Vlmc-devel mailing list