summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-kvm.c
diff options
context:
space:
mode:
authorJoonsoo Kim <js1304@gmail.com>2012-05-10 17:32:59 +0200
committerPekka Enberg <penberg@kernel.org>2012-05-16 08:37:25 +0200
commit601d39d00c2af206d10d1252132a85316d95499a (patch)
tree49cba676d0106e6310b3a5dc560f2b477fd79fea /tools/perf/builtin-kvm.c
parentDocumentations: Fix slabinfo.c directory in vm/slub.txt (diff)
downloadlinux-601d39d00c2af206d10d1252132a85316d95499a.tar.xz
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 'tools/perf/builtin-kvm.c')
0 files changed, 0 insertions, 0 deletions