From: Matthieu CASTET Date: Thu, 28 Jun 2012 14:51:56 +0000 (+0200) Subject: HID: hidraw: fix list->buffer memleak X-Git-Tag: v3.2.31~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3313aa9015c7c868a9bcdb7b1c143719d2873a66;p=pandora-kernel.git HID: hidraw: fix list->buffer memleak commit 4c7b417ecb756e85dfc955b0e7a04fd45585533e upstream. If we don't read fast enough hidraw device, hidraw_report_event will cycle and we will leak list->buffer. Also list->buffer are not free on release. After this patch, kmemleak report nothing. Signed-off-by: Matthieu CASTET Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed