diff options
author | Catalin Marinas <catalin.marinas@gmail.com> | 2006-11-25 11:09:30 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-25 13:28:33 -0800 |
commit | 82189b9807e05ea8d1f69de5bf92eaf244a0eb12 (patch) | |
tree | ecc6f1cf933a249ea1a9a9858a7a90878ec4162b /drivers/acorn/char | |
parent | 533221fbaf001692d5db646f84f7d033fac78cc7 (diff) |
[PATCH] Fix device_attribute memory leak in device_del
dev->devt_attr is allocated in device_add() but it is never freed in
device_del() in the drivers/base/core.c file (reported by kmemleak).
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acorn/char')
0 files changed, 0 insertions, 0 deletions