firewire: cdev: fix another memory leak in an error path
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 26 Dec 2009 00:34:29 +0000 (01:34 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 29 Dec 2009 18:58:16 +0000 (19:58 +0100)
commitcf0e575dcc4cab9fd955e9bec49df7e8ee30a7cf
tree5f0e2a2c57aa2ca999d118d1dee7d84c71d1ecde
parentdb5d247ae811f49185a71e703b65acad845e4b18
firewire: cdev: fix another memory leak in an error path

If copy_from_user in an FW_CDEV_IOC_SEND_RESPONSE ioctl failed, the
fw_request pointed to by the inbound_transaction_resource is no
longer referenced and needs to be freed.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-cdev.c