[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.5/kdeedu/marble/src/lib
From:       Laurent Montel <montel () kde ! org>
Date:       2010-07-09 7:37:37
Message-ID: 20100709073737.91BE8AC85D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1147792 by mlaurent:

Backport: fix mem leak


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


--- branches/KDE/4.5/kdeedu/marble/src/lib/DownloadRegionDialog.cpp #1147791:1147792
@@ -197,6 +197,11 @@
     updateTilesCount();
 }
 
+DownloadRegionDialog::~DownloadRegionDialog()
+{
+    delete d;
+}
+
 void DownloadRegionDialog::setAllowedTileLevelRange( int const minimumTileLevel,
                                                      int const maximumTileLevel )
 {
--- branches/KDE/4.5/kdeedu/marble/src/lib/DownloadRegionDialog.h #1147791:1147792
@@ -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 );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic