Re: [PATCH libXi] XListInputDevices: Do not modify ndevices in case of an error

2016-10-16 Thread Peter Hutterer
On Sat, Oct 15, 2016 at 02:06:42PM +0200, Niels Ole Salscheider wrote: > Output parameters must only be modified if there is no error. > > Signed-off-by: Niels Ole Salscheider see this patch here please https://patchwork.freedesktop.org/patch/115414/ Cheers,

[PATCH libXi] XListInputDevices: Do not modify ndevices in case of an error

2016-10-15 Thread Niels Ole Salscheider
Output parameters must only be modified if there is no error. Signed-off-by: Niels Ole Salscheider --- src/XListDev.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/XListDev.c b/src/XListDev.c index b2bad72..f4e37ba