Richard Heck wrote: > My problem is that I don't really know how to read the valgrind output. > But from what you've said, my guess would be that the problem is in > putClipboard, in CutAndPaste.cpp. You will see that a static Buffer does > get created there, so you could try modifying the static bit and see if > that helps. The other thing that happens is that this static Buffer gets > cloned, and then the clone is deleted at the end. That might be the > freed memory, but I'm not sure where it would get read.
Maybe the cloning does not work correctly, so deleting the clone does actually delwte parts of the static buffer? BTW, my experience with valgrind is the same: It is right in almost all cases. Georg