fix null dereference.
authorchl <chl@openbsd.org>
Mon, 1 Sep 2008 17:50:15 +0000 (17:50 +0000)
committerchl <chl@openbsd.org>
Mon, 1 Sep 2008 17:50:15 +0000 (17:50 +0000)
commit89c914608921cd9f7b67990634e1826074aae704
tree63378d6630fa52be70a513a531a26d051e2538ce
parent4b1f2dabfda6a6c5fe9998fb5e049154935a0cf1
fix null dereference.

initial patch from me, reworked by oga@.

found by LLVM/Clang Static Analyzer.

ok oga@
sys/dev/pci/drm/drm_memory.c