diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cdrom/sonycd535.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cdrom/sonycd535.c b/drivers/cdrom/sonycd535.c index f4be7bfd6675..9f22e8f1f6c0 100644 --- a/drivers/cdrom/sonycd535.c +++ b/drivers/cdrom/sonycd535.c | |||
@@ -1605,8 +1605,7 @@ out7: | |||
1605 | put_disk(cdu_disk); | 1605 | put_disk(cdu_disk); |
1606 | out6: | 1606 | out6: |
1607 | for (i = 0; i < sony_buffer_sectors; i++) | 1607 | for (i = 0; i < sony_buffer_sectors; i++) |
1608 | if (sony_buffer[i]) | 1608 | kfree(sony_buffer[i]); |
1609 | kfree(sony_buffer[i]); | ||
1610 | out5: | 1609 | out5: |
1611 | kfree(sony_buffer); | 1610 | kfree(sony_buffer); |
1612 | out4: | 1611 | out4: |