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

List:       kde-commits
Subject:    kdebase/ksplash
From:       Laurent Montel <montell () club-internet ! fr>
Date:       2002-03-10 14:27:57
[Download RAW message or body]


kdebase/ksplash ksplash.cpp,1.45,1.46 ksplash.h,1.8,1.9
Author: mlaurent
Sun Mar 10 15:27:57 CET 2002
In directory office:/tmp/cvs-serv30636


Modified Files:
         ksplash.cpp ksplash.h
Log Message:
Fix mem leak

+++ ksplash.cpp 2002/03/10 14:27:28
@@ -113,6 +113,17 @@ KSplash::KSplash( const char* name )
     }
 }

+KSplash::~KSplash()
+{
+  delete bar_active_pm;
+  delete bar_inactive_pm;
+  delete bar_blink1;
+  delete bar_blink2;
+  delete close_timer;
+  delete blink_timer;
+  delete progress;
+}
+
 void KSplash::upAndRunning( QString s )
 {
     bool update = true;
Index: ksplash.h
===================================================================
RCS file: /home/kde/kdebase/ksplash/ksplash.h,v
retrieving revision 1.8
diff -u -u -p -r1.8 ksplash.h
--- ksplash.h   2001/05/12 00:33:42     1.8
+++ ksplash.h   2002/03/10 14:27:28
@@ -18,7 +18,7 @@ class KSplash : public QVBox, public DCO

 public:
     KSplash( const char* name );
-    ~KSplash() {}
+    ~KSplash() ;


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

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