diff options
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/core-cdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c index 2cb22d160f6e..e6d63849e78e 100644 --- a/drivers/firewire/core-cdev.c +++ b/drivers/firewire/core-cdev.c | |||
@@ -723,6 +723,7 @@ static int ioctl_send_response(struct client *client, void *buffer) | |||
723 | if (copy_from_user(r->data, u64_to_uptr(request->data), | 723 | if (copy_from_user(r->data, u64_to_uptr(request->data), |
724 | r->length)) { | 724 | r->length)) { |
725 | ret = -EFAULT; | 725 | ret = -EFAULT; |
726 | kfree(r->request); | ||
726 | goto out; | 727 | goto out; |
727 | } | 728 | } |
728 | fw_send_response(client->device->card, r->request, | 729 | fw_send_response(client->device->card, r->request, |