Re: [PATCH weston] weston-editor: Close the data source after sending

2016-08-15 Thread Jonas Ã…dahl
On Sat, Jul 09, 2016 at 12:08:53PM -0700, Yong Bakos wrote: > On Jul 7, 2016, at 8:52 AM, Derek Foreman wrote: > > > > We're leaking the fd when sending cut'n'paste. Failure to close can also > > makes the other end unhappy because it doesn't know the paste is finished. > > > > Signed-off-by: D

Re: [PATCH weston] weston-editor: Close the data source after sending

2016-07-09 Thread Yong Bakos
On Jul 7, 2016, at 8:52 AM, Derek Foreman wrote: > > We're leaking the fd when sending cut'n'paste. Failure to close can also > makes the other end unhappy because it doesn't know the paste is finished. > > Signed-off-by: Derek Foreman Occurrences in other weston clients already mimc this pat

[PATCH weston] weston-editor: Close the data source after sending

2016-07-07 Thread Derek Foreman
We're leaking the fd when sending cut'n'paste. Failure to close can also makes the other end unhappy because it doesn't know the paste is finished. Signed-off-by: Derek Foreman --- clients/editor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/editor.c b/clients/editor.c index e