Commit ececcc78 authored by Dirk Mueller's avatar Dirk Mueller
Browse files

fix memory leak (CID 4274)

svn path=/trunk/KDE/kdeedu/marble/; revision=728068
parent 35add0c3
......@@ -43,3 +43,8 @@ ViewParams::ViewParams( )
// Just to have something.
m_coastImage = new QImage( 10, 10, QImage::Format_ARGB32_Premultiplied );
}
ViewParams::~ViewParams()
{
delete m_coastImage;
}
......@@ -42,6 +42,8 @@ class ViewParams
public:
ViewParams( );
~ViewParams();
Projection m_projection;
Projection m_oldProjection;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment