make sure the end result is NULL if malloc failed
authorjsg <jsg@openbsd.org>
Tue, 15 Aug 2023 03:51:29 +0000 (03:51 +0000)
committerjsg <jsg@openbsd.org>
Tue, 15 Aug 2023 03:51:29 +0000 (03:51 +0000)
commit79d033456436ec354ff37b68298dbf84beaedf6e
tree40c5bf5b66e7d7c79bf4e4ddb0852cc762eae5e6
parenta3e56974213b5ca8dd2c869149e2b797ccd9109a
make sure the end result is NULL if malloc failed
sys/dev/pci/drm/dma-resv.c