[k3b] [Bug 383835] Crash after closing audio project

Leslie Zhai bugzilla_noreply at kde.org
Thu Aug 24 02:14:20 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=383835

--- Comment #8 from Leslie Zhai <lesliezhai at llvm.org.cn> ---
Hi Mark,

Thanks for your investigation. please try this patch for kfilemetadata:


diff --git a/src/extractor.cpp b/src/extractor.cpp
index 7becc41..e863f02 100644
--- a/src/extractor.cpp
+++ b/src/extractor.cpp
@@ -31,7 +31,10 @@ Extractor::Extractor()

 Extractor::~Extractor()
 {
-    delete d->m_plugin;
+    if (d->m_plugin) {
+        delete d->m_plugin;
+        d->m_plugin = NULL;
+    }
     delete d;
 }


then try again to set breakpoint.

Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list