[Wayland-bugs] [Bug 67231] weston_release_seat() double frees focus_state

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 24 08:59:51 PDT 2013


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

--- Comment #3 from Rob Bradford <rob at robster.org.uk> ---
I posted two patches to the list to address this bug: the destroy signal list
was corrupted by the freeing of memory containing the link nodes without
removing the node from the list:

commit fad549ce2c221fccb04767e3b2f886c47dad1590
Author: Rob Bradford <rob at linux.intel.com>
Date:   Wed Jul 24 16:54:35 2013 +0100

    clipboard: remove the weston_seat destruction listener on destroy

    Prior to freeing the memory in which the link node for the signal is
    emedded we should remove the link node from the list to prevent the list
    from being corrupted.

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

commit 6e5a5caee3eec8c8ed4eeedccd27f88bf203a689
Author: Rob Bradford <rob at linux.intel.com>
Date:   Wed Jul 24 16:54:35 2013 +0100

    text-backend: remove the weston_seat destruction listener on destroy

    Prior to freeing the memory in which the link node for the signal is
    emedded we should remove the link node from the list to prevent the list
    from being corrupted.

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

-- 
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/20130724/1052ab9e/attachment.html>


More information about the Wayland-bugs mailing list