Description: OutputDevice::OutputDevice() with one invocation Steps to Reproduce: 1. Start the Instruments.app 2. Choose Memory Leak profile tool 3. Select LibreOffice.app in instdir as target process 4. Click on the record button, LODev is started by the profiling tool 5. Wait for the StartCenter to load. 6. Click on the new Calc document icon to open a blank Clac document. 7. Close the document 8. Stop recording (after the closing is fully processed) 9. Analyse the profile trace. Actual Results: Memory leak in OutputDevice::OutputDevice() Expected Results: Shouldn't leak memory Reproducible: Always User Profile Reset: No Additional Info: Version: 6.0.0.0.alpha0+ Build ID: e970395c692a5c315914ddf5b43cf01e590345ff CPU threads: 4; OS: Mac OS X 10.12.4; UI render: default; Locale: en-US (en_US.UTF-8); Calc: group User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Created attachment 136242 [details] BT & Few screenshots
Following https://cgit.freedesktop.org/libreoffice/core/commit/?id=eaf7d58ef57daa7580057b38625cd9a96ffe2a43, I think it's fixed now. Don't hesitate to reopen this one if you can still reproduce this with a build which includes this patch.