Skip to content

Commit d9753e2

Browse files
author
mhugent
committed
Fixed a small memory leak
git-svn-id: http://svn.osgeo.org/qgis/trunk@6476 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d229316 commit d9753e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/qgslabel.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ QgsLabel::QgsLabel( const QgsFieldMap & fields )
6262
}
6363

6464
QgsLabel::~QgsLabel()
65-
{}
65+
{
66+
delete mLabelAttributes;
67+
}
6668

6769
QString QgsLabel::fieldValue ( int attr, QgsFeature &feature )
6870
{

0 commit comments

Comments
 (0)