From: Stefan Richter Date: Sat, 15 Sep 2007 12:45:53 +0000 (+0200) Subject: ieee1394: nodemgr: fix leak of struct csr1212_keyval X-Git-Tag: v2.6.24-rc1~825^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638d5bb8167c2c88552257d5af23f7f65ab4defd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed