diff --git a/phplanguagesupport.cpp b/phplanguagesupport.cpp --- a/phplanguagesupport.cpp +++ b/phplanguagesupport.cpp @@ -84,6 +84,8 @@ //By locking the parse-mutexes, we make sure that parse- and preprocess-jobs //get a chance to finish in a good state parseLock()->unlock(); + delete m_highlighting; + delete m_refactoring; } KDevelop::ParseJob *LanguageSupport::createParseJob(const IndexedString &url)