Bug 309271

Summary: template preview - crash after clicked.
Product: [Developer tools] kdevplatform Reporter: micom <airells.mail>
Component: projectAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: 1.3.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description micom 2012-10-30 20:58:50 UTC
void TemplatePreview::documentActivated (KDevelop::IDocument* document)
{
    Q_ASSERT(document);
    kDebug() << document->url();

    delete m_tmpFile;


it looks like there is "delete m_tmpFile" but where is initialization before? wrong merge?

Reproducible: Always

Steps to Reproduce:
1. click template preview
2.
3.
Comment 1 Milian Wolff 2012-10-30 22:05:37 UTC
commit 872dd1784014754333cd072776b23871d292cb04
Author: Milian Wolff <mail@milianw.de>
Date:   Tue Oct 30 23:04:01 2012 +0100

    Fix crashes, this class needs to be cleaned up