dect
/
linux-2.6
Archived
13
0
Fork 0

Bluetooth: hidp: Fix memory leak of cached report descriptor

Free the cached HID report descriptor on thread terminate.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
Peter Hurley 2011-08-05 10:51:34 -04:00 committed by Gustavo F. Padovan
parent e9d5cb541b
commit 1c97e94c0b
1 changed files with 1 additions and 0 deletions

View File

@ -764,6 +764,7 @@ static int hidp_session(void *arg)
up_write(&hidp_session_sem);
kfree(session->rd_data);
kfree(session);
return 0;
}