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

List:       kde-devel
Subject:    Re: Fix for kdesud segfault on Repository::remove*
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2000-12-29 1:25:56
[Download RAW message or body]

On Thursday 28 December 2000 20:14, Waldo Bastian wrote:
> On Thursday 28 December 2000 14:27, Daniel Karlsson wrote:
> > Hi,
> >
> > I've had kdesud segfault when konqueror exited for some time. Tracked it
> > down to Repository::removeSpecialKey() and patched it up. Seems to work
> > ok now.
> >
> > I'm attaching my proposed fix. Would be nice if someone could check it
> > out and commit it.
>
> Is the problem that the iterator is moved beyond the end of the list?
> Wouldn't the following patch be more straight forward then?
>
> Cheers,
> Waldo

No because repo is a QMap and not a QValueList ( cannot do it = repo.remove( it ) )...

Regards,
Dawit A.
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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