]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb67b12abfea01080a9ea692d73b0d2628351002b
treec2956fc904fe0e13a950c34b645d8f122932fe0d
parentac4e5a0284ae245b4e6e4da42b67184e7d1868fc
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