[Libreoffice-bugs] [Bug 111497] New: CoreTextGlyphFallbackSubstitution::FindFontSubstitute() leaks memory on invocation

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 8 13:20:12 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=111497

            Bug ID: 111497
           Summary: CoreTextGlyphFallbackSubstitution::FindFontSubstitute(
                    ) leaks memory on invocation
           Product: LibreOffice
           Version: 6.0.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: iplaw67 at tuta.io

Description:
CoreTextGlyphFallbackSubstitution::FindFontSubstitute() leaks memory on
invocation.

Steps to Reproduce:
Steps to Reproduce:
1. Start XCode, then 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 - note the occurrences of memory leaks as
they occur.
6. Open a new Writer document.
7. When the document has loaded, click on the dropdown font list. Scroll up and
down the list with the Up/Down cursor arrows
8. Stop recording.
9. Analyse the profile trace.


Actual Results:  
CoreTextGlyphFallbackSubstitution::FindFontSubstitute() leaks memory on
invocation.

Invoked multiple times in CFData, CFDictionary, and multiple MALLOCS of 336
bytes each

Expected Results:
It shouldn't leak memory.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0)
Gecko/20100101 Firefox/54.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170808/9c228f72/attachment.html>


More information about the Libreoffice-bugs mailing list