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

            Bug ID: 90566
           Summary: Theme::disposing(void) memory leak: maChangeListeners
                    is not properly disposed
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 90564

As noted at
http://habrahabr.ru/company/pvs-studio/blog/251817/#comment_8312345:

http://cgit.freedesktop.org/libreoffice/core/tree/sfx2/source/sidebar/Theme.cxx#n393

The contents of maChangeListeners is swapped with a new empty container
aListeners. Then, the [now empty] maChangeListeners is traversed to dispose its
contents. Thus, here must be an error and memory leak.

aListeners should be traversed instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to