Skip to content
Commit b17339a1 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen Committed by Pierre Ossman
Browse files

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: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 87e60f2b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment