[vlmc-devel] Core: Fix segfault after deleting VlmcLogger

Yikai Lu git at videolan.org
Mon Jul 4 15:34:10 CEST 2016


vlmc | branch: medialibrary | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Jun 21 00:31:07 2016 +0900| [d4fed7e68b2125188b248dab1da842c6646625c4] | committer: Yikai Lu

Core: Fix segfault after deleting VlmcLogger

> https://code.videolan.org/videolan/vlmc/commit/d4fed7e68b2125188b248dab1da842c6646625c4
---

 src/Main/Core.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Main/Core.cpp b/src/Main/Core.cpp
index ba53a9a..82cffda 100644
--- a/src/Main/Core.cpp
+++ b/src/Main/Core.cpp
@@ -71,8 +71,8 @@ Core::~Core()
     delete m_currentProject;
     delete m_workspace;
     delete m_settings;
-    delete m_logger;
     delete m_backend;
+    delete m_logger;
 }
 
 void



More information about the Vlmc-devel mailing list