diff options
author | phk <phk@FreeBSD.org> | 2009-09-08 13:19:05 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2009-09-08 13:19:05 +0000 |
commit | 52972616516a18e69bb2849c2f2e718ee644b27f (patch) | |
tree | 9f7c1709b6ce492cd874120e81e8a117cab4ca7d /sys/cam/scsi/scsi_cd.c | |
parent | 2314521104388ada19392a3b2cdaca4ba6f82243 (diff) | |
download | FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.zip FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.tar.gz |
Revert previous commit and add myself to the list of people who should
know better than to commit with a cat in the area.
Diffstat (limited to 'sys/cam/scsi/scsi_cd.c')
-rw-r--r-- | sys/cam/scsi/scsi_cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c index 52f7311..287c6b6 100644 --- a/sys/cam/scsi/scsi_cd.c +++ b/sys/cam/scsi/scsi_cd.c @@ -2528,7 +2528,7 @@ cdioctl(struct disk *dp, u_long cmd, void *addr, int flag, struct thread *td) error = cdgetmode(periph, ¶ms, AUDIO_PAGE); if (error) { - free(¶ms.mode_buf, M_SCSICD); + free(¶ms, M_SCSICD); cam_periph_unlock(periph); break; } |