[Wayland-bugs] [Bug 751414] File descriptor leak in gdk_wayland_selection_request_target()

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 24 11:09:24 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751414

--- Comment #12 from Carlos Garnacho <carlosg at gnome.org> ---
Created attachment 306033
  --> https://bugzilla.gnome.org/attachment.cgi?id=306033&action=edit
wayland: Do not close the descriptor on async_write_data_free()

At the moment we create the AsyncWriteData, the ownership of the
fd is granted to the GOutputStream, and the fd set to -1, so at
this moment we're just silently getting EBADFD.

This partially reverts 25885ca600fff, the initialization of .fd
to -1 is valid and stays though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150624/6517e6af/attachment.html>


More information about the wayland-bugs mailing list