diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-09-19 21:09:28 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-09-20 12:11:48 +0200 |
commit | b17339a12c279d73869c74a37642035cd2f896f8 (patch) | |
tree | 109ceb368815465b8ac332ba23aae3aee5c99a86 /drivers/hid/hid-input-quirks.c | |
parent | 87e60f2b80202575a23fa1bf56c6eb3b419c480a (diff) |
atmel-mci: Fix memory leak in atmci_regs_show
The debugfs hook atmci_regs_show allocates a temporary buffer for
storing a register snapshot, but it doesn't free it before returning.
Plug this leak.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/hid/hid-input-quirks.c')
0 files changed, 0 insertions, 0 deletions