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

List:       kde-commits
Subject:    Re: kdebase/kfind
From:       David Faure <faure () kde ! org>
Date:       2004-08-26 16:12:55
Message-ID: 200408261812.56490.faure () kde ! org
[Download RAW message or body]

On Thursday 26 August 2004 18:08, Laurent Montel wrote:
> CVS commit by mlaurent: 
> 
> Fix mem leak 
> (Backport ?)
> 
> 
>   M +1 -0      kquery.cpp   1.35
> 
> 
> --- kdebase/kfind/kquery.cpp  #1.34:1.35
> @@ -29,4 +29,5 @@ KQuery::KQuery(QObject *parent, const ch
>  KQuery::~KQuery()
>  {
> +                delete processLocate;
>  }

One could also do "new KProcess(this)" btw. Reduces the risk of double deletion etc.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

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