dma_free(9) just once in error case
authorkn <kn@openbsd.org>
Sat, 4 May 2024 16:40:38 +0000 (16:40 +0000)
committerkn <kn@openbsd.org>
Sat, 4 May 2024 16:40:38 +0000 (16:40 +0000)
commit450e503cc7a06ae925ab19b9c1da4b330e0d8c19
tree041c76c31eccc13de9cf455ae52e07a9fd63537d
parent2011187a052fd12d770845f84390408929b7ba9c
dma_free(9) just once in error case

buf is free'd and NULL, don't do it again to avoid a panic.

OK krw
sys/scsi/sd.c