From: Dan Carpenter Date: Fri, 19 Aug 2011 08:00:55 +0000 (+0300) Subject: HID: hid-lg4ff: add a kfree() to an error path X-Git-Tag: v3.2-rc1~187^2~2^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f25229026c89912574558d0a4e36c8fe51b9bb4;p=pandora-kernel.git HID: hid-lg4ff: add a kfree() to an error path There is a small rare potential memory leak here. Also Walter Harms points out that we can do a small cleanup as well by using kstrdup(). Signed-off-by: Dan Carpenter Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed