On Sun, Dec 02, 2007 at 09:27:02AM -0000, [EMAIL PROTECTED] wrote: > Author: kuemmel > Date: Sun Dec 2 10:27:02 2007 > New Revision: 21905 > > URL: http://www.lyx.org/trac/changeset/21905 > Log: > fix memory leak. addMenu does not take ownership, a Qt bug?
Not a bug if it's not documented to take owership. There's a pretty strict rule in Qt documentation that if ownership is passed it has to be documented. If nothing is mentioned, ownership is not passed. Andre'