On 23 January 2017 at 16:14, Nicolai Hähnle <nhaehnle@xxxxxxxxx> wrote: > I don't think is correct. The incoming handle is in shared_handle, not in > handle. Once the code block around line 310 has executed, shared_handle is > the handle produced by drmPrimeFDToHandle, and closing it on error (as the > code currently does) should be the correct thing to do. > I've got confused with the shared_handle <> handle naming - read the wrong one where I shouldn't have ;-) You're spot on. Thanks for the correction. Emil _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel