Bug 309271 - template preview - crash after clicked.
Summary: template preview - crash after clicked.
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: project (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 20:58 UTC by micom
Modified: 2012-10-30 22:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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