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

List:       kde-commits
Subject:    KDE/kdewebdev/quanta/src
From:       Laurent Montel <montel () kde ! org>
Date:       2005-05-08 15:58:39
Message-ID: 1115567919.664902.10604.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 411037 by mlaurent:

Fix mem leak


 M  +2 -2      trunk/KDE/kdewebdev/quanta/src/quanta.cpp  


--- trunk/KDE/kdewebdev/quanta/src/quanta.cpp #411036:411037
@@ -4679,7 +4679,7 @@
   }
   if ( !w->isUntitled() )
   {
-    KProcess *show = new KProcess();
+    KProcess *show = new KProcess(this);
     KURL url = Project::ref()->urlWithPrefix(w->url());
 #if KDE_IS_VERSION(3,2,90)
     *show << "kfmclient" << "newTab" << url.url();
@@ -4717,7 +4717,7 @@
   }
   if ( !w->isUntitled() )
   {
-    KProcess *show = new KProcess();
+    KProcess *show = new KProcess(this);
     KURL url = Project::ref()->urlWithPrefix(w->url());
     *show << "konsole"
           << "--nohist"
[prev in list] [next in list] [prev in thread] [next in thread] 

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