]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
firewire: fix struct fw_node memory leak
authorJay Fenlason <fenlason@redhat.com>
Mon, 27 Oct 2008 22:28:14 +0000 (23:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Nov 2008 03:05:44 +0000 (19:05 -0800)
commitff0f8d16839cd02dc95bd92c212cbd5d433a4d2b
treed88acb78a3828b64a0174ebf3fd3ea7580427fc3
parentb6021579f54e5b6b31f03fe24de1208a2feb4aec
firewire: fix struct fw_node memory leak

commit 77e557191701afa55ae7320d42ad6458a2ad292e upstream

With the bus_resets patch applied, it is easy to see this memory leak
by repeatedly resetting the firewire bus while running slabtop in
another window.  Just watch kmalloc-32 grow and grow...

Signed-off-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-topology.c