[Wayland-bugs] [Bug 91943] weston-dnd leaks memory allocated in create_drag_icon()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 9 12:58:47 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91943

            Bug ID: 91943
           Summary: weston-dnd leaks memory allocated in
                    create_drag_icon()
           Product: Wayland
           Version: 1.5.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: mcatanzaro at gnome.org

All of the memory weston-dnd allocates in create_drag_icon() in dnd.c is
leaked. weston-dnd expects the memory to be freed in response to
data_source.cancelled, but this is never emitted except for the clipboard data
source.

One solution would be to enhance wl_data_source to indicate when the drag has
been completed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150909/d344945c/attachment-0001.html>


More information about the wayland-bugs mailing list