[Kde-imaging] extragear/libs/kipi-plugins/slideshow

Angelo Naselli anaselli at linux.it
Wed Nov 15 11:21:18 CET 2006


> This is duing about to allocate KPAboutData on the heap like this :
> 
> KIPIPlugins::KPAboutData * about = new KIPIPlugins::KPAboutData(...);
> 
> ... and pass it to KHelpMenu as well. I have seen the same problem into 
> DigikamImagePlugins. The solution is simple : just delete KPAboutData 
> instance container when dialog is destructed.
> 
> I suspect a bug in KHelpMenu API witch unallocate properlly the about data 
> container.
hmm, how about the "normal" kaboutdata? wasn't it removed well?
I'm confused
> 
> Attached a patch for MetadataEdit::ExifDialog (:=)))...
If you've really found a problem (as I believe) commit it :)
 
> Note : testing an implementation with valgrind is always a big help from 
> developpers...
That's true, and i'll take care of that doing my testing from now on, even if
not having a powerful machine is a nightmear for that...
  
Angelo
-------------- 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-imaging/attachments/20061115/9aafbf3a/attachment.pgp 


More information about the Kde-imaging mailing list