Bug 112389

Summary: osl_createMutex leaks memory
Product: LibreOffice Reporter: Telesto <telesto>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: serval2412
Priority: medium    
Version: 6.0.0.0.alpha0+   
Hardware: All   
OS: macOS (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=112388
https://bugs.documentfoundation.org/show_bug.cgi?id=112387
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: BT & Few screenshots

Description Telesto 2017-09-14 14:07:22 UTC
Description:
osl_createMutex leaks memory

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 osl_createMutex


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
Comment 1 Telesto 2017-09-14 14:08:53 UTC
Created attachment 136244 [details]
BT & Few screenshots