diff options
author | Joonsoo Kim <js1304@gmail.com> | 2012-05-11 00:32:59 +0900 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-05-16 09:37:25 +0300 |
commit | 601d39d00c2af206d10d1252132a85316d95499a (patch) | |
tree | 49cba676d0106e6310b3a5dc560f2b477fd79fea /mm/internal.h | |
parent | 9fe496116e966902f5efe593d946222a649ea5c8 (diff) | |
download | linux-601d39d00c2af206d10d1252132a85316d95499a.tar.gz linux-601d39d00c2af206d10d1252132a85316d95499a.tar.bz2 linux-601d39d00c2af206d10d1252132a85316d95499a.zip |
slub: fix a possible memory leak
Memory allocated by kstrdup should be freed,
when kmalloc(kmem_size, GFP_KERNEL) is failed.
Acked-by: Christoph Lameter <cl@linux.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions