Em Fri, 2012-04-20 às 15:10 +1000, Peter Hutterer escreveu:
> 
> +               if (!parent || !is_tablet_or_touchpad(parent)) {
> +                       libwacom_error_set(error, WERROR_INVALID_PATH,
> "Device '%s' is not a tablet", path);
> +                       goto bail;
> +               } 

You're leaking parent if it's not a tablet or touchpad.

Reviewed-By: Bastien Nocera <had...@hadess.net>


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to