Re: [PATCH libinput 1/9] path: keep the udev context around

2014-11-24 Thread Hans de Goede
Hi, On 11/24/2014 01:46 AM, Peter Hutterer wrote: We need it for each device anyway, keep the ref around. Makes error handling a bit easier, we don't need to handle failing udev_new() and reduce the danger of mis-refcounting it. Signed-off-by: Peter Hutterer Looks good: Reviewed-by: Hans de

[PATCH libinput 1/9] path: keep the udev context around

2014-11-23 Thread Peter Hutterer
We need it for each device anyway, keep the ref around. Makes error handling a bit easier, we don't need to handle failing udev_new() and reduce the danger of mis-refcounting it. Signed-off-by: Peter Hutterer --- src/path.c | 33 +++-- src/path.h | 1 + 2 files chang