diff options
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 9c3b4f615621..7ec18fa3b5ff 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -646,10 +646,8 @@ int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) | |||
646 | } | 646 | } |
647 | abort: | 647 | abort: |
648 | kfree(req_task); | 648 | kfree(req_task); |
649 | if (outbuf != NULL) | 649 | kfree(outbuf); |
650 | kfree(outbuf); | 650 | kfree(inbuf); |
651 | if (inbuf != NULL) | ||
652 | kfree(inbuf); | ||
653 | 651 | ||
654 | // printk("IDE Taskfile ioctl ended. rc = %i\n", err); | 652 | // printk("IDE Taskfile ioctl ended. rc = %i\n", err); |
655 | 653 | ||