From: Dan Carpenter Date: Wed, 3 Jul 2013 03:32:58 +0000 (-0700) Subject: Input: cyttsp4 - leak on error path in probe() X-Git-Tag: v3.11-rc1~86^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=394fc05b7967a043e26b4343011a319390801c8b;p=pandora-kernel.git Input: cyttsp4 - leak on error path in probe() We leak "cd" if the cd->xfer_buf allocation fails. It was weird to "goto error_gpio_irq" so I changed the label name. (Label names should reflect the label location not the goto location otherwise you get an "all roads lead to Rome problem"). Signed-off-by: Dan Carpenter Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed