summaryrefslogtreecommitdiff
path: root/drivers/ieee1394/csr1212.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-09-15 14:45:53 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-10-16 23:59:58 +0200
commit638d5bb8167c2c88552257d5af23f7f65ab4defd (patch)
tree736f9e4fab8d5c086a889dadebe7d6d02f4bf0a5 /drivers/ieee1394/csr1212.c
parent745647e7a2ae399f7f70aca47827e62c99c893b5 (diff)
ieee1394: nodemgr: fix leak of struct csr1212_keyval
csr1212_keep_keyval(kv) in nodemgr_process_root_directory was unbalanced if ne->vendor_name_kv already exists. This happens for example if eth1394 or raw1394 modify the local config ROM and it is parsed again. As a bonus, the attempt to add the vendor_name_kv sysfs attribute when it already exists is now fixed for good. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/csr1212.c')
0 files changed, 0 insertions, 0 deletions