On 10/20/2014 01:25 PM, Alfredo Braunstein wrote:
Running under valgrind, open LyX (master branch), create a new
document, write 'a', select it and copy it; valgrind complains (see
below). I get it consistently.
A second copy doesn't give any problem, it's just the first one that
does. The problem seems related to a badly initialized temporary
buffer (maybe).
This is possible. I believe a temporary Buffer is created in this case
to allow, e.g.,
XHTML to be put on the clipboard. That Buffer is then re-used later. I'm
not sure why
valgrind is complaining, though. Maybe we don't initialize certain
things because, in
this case, we don't actually need to do so?
Richard