commit | 82189b9807e05ea8d1f69de5bf92eaf244a0eb12 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@gmail.com> | Sat Nov 25 11:09:30 2006 -0800 |
committer | Linus Torvalds <torvalds@woody.osdl.org> | Sat Nov 25 13:28:33 2006 -0800 |
tree | ecc6f1cf933a249ea1a9a9858a7a90878ec4162b | |
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>