diff options
-rw-r--r-- | drivers/scsi/sr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 7727893238c7..59718903e1ef 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -813,6 +813,7 @@ static int sr_probe(struct device *dev) fail_put: put_disk(disk); + mutex_destroy(&cd->lock); fail_free: kfree(cd); fail: |