diff options
-rw-r--r-- | src/atiprobe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/atiprobe.c b/src/atiprobe.c index 08cc56f3..e262a824 100644 --- a/src/atiprobe.c +++ b/src/atiprobe.c @@ -1554,6 +1554,9 @@ ATIProbe continue; pPCI = pVideo->thisCard; + if (pPCI == NULL) + continue; + PciReg = pciReadLong(pPCI->tag, PCI_REG_USERCONFIG); j = PciReg & 0x03U; if (j == 0x03U) |