Valgrind hit in kio_data [PATCH]
Waldo Bastian
bastian at kde.org
Fri Feb 25 09:18:56 GMT 2005
On Friday 25 February 2005 00:05, David Faure wrote:
> Obviously the slave is emitting finished() immediately, so the next line
> after SimpleJob::start() in TransferJob::start() is reading a member var
> with "this" being deleted already.
>
> No other slave emits finished() from inside start(). So I fixed kio_data
> for delay the emission of finished() in all cases (not just when suspended,
> like the code said).
Should be the proper fix indeed.
Cheers,
Waldo
--
bastian at kde.org | Free Novell Linux Desktop 9 Evaluation Download
bastian at suse.com | http://www.novell.com/products/desktop/eval.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050225/88f23584/attachment.sig>
More information about the kde-core-devel
mailing list