firewire: fix struct fw_node memory leak
authorJay Fenlason <fenlason@redhat.com>
Thu, 16 Oct 2008 22:00:15 +0000 (18:00 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 26 Oct 2008 09:27:00 +0000 (10:27 +0100)
commit77e557191701afa55ae7320d42ad6458a2ad292e
treec2956fc904fe0e13a950c34b645d8f122932fe0d
parent4f9740d4f5a17fa6a1b097fa3ccdfb7246660307
firewire: fix struct fw_node memory leak

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