[Marble-commits] KDE/kdeedu/marble/src/lib

Laurent Montel montel at kde.org
Fri Jul 9 09:37:05 CEST 2010


SVN commit 1147791 by mlaurent:

Fix mem leak


 M  +5 -0      DownloadRegionDialog.cpp  
 M  +1 -1      DownloadRegionDialog.h  


--- trunk/KDE/kdeedu/marble/src/lib/DownloadRegionDialog.cpp #1147790:1147791
@@ -197,6 +197,11 @@
     updateTilesCount();
 }
 
+DownloadRegionDialog::~DownloadRegionDialog()
+{
+    delete d;
+}
+
 void DownloadRegionDialog::setAllowedTileLevelRange( int const minimumTileLevel,
                                                      int const maximumTileLevel )
 {
--- trunk/KDE/kdeedu/marble/src/lib/DownloadRegionDialog.h #1147790:1147791
@@ -37,7 +37,7 @@
 
     explicit DownloadRegionDialog( MarbleModel const * const model, QWidget * const parent = 0,
                                    Qt::WindowFlags const f = 0 );
-
+    ~DownloadRegionDialog();
     void setAllowedTileLevelRange( int const minimumTileLevel,
                                    int const maximumTileLevel );
     void setVisibleTileLevel( int const tileLevel );


More information about the Marble-commits mailing list