mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 18:20:14 +01:00
Fixing sig11 in xf86I2CGetScreenBuses().
Dereferencing a pointer once too often caused a sig11 in xf86I2CGetScreenBuses().
This commit is contained in:
parent
9adea80703
commit
7c5de093d4
1 changed files with 1 additions and 1 deletions
|
|
@ -883,7 +883,7 @@ xf86I2CGetScreenBuses(int scrnIndex, I2CBusPtr **pppI2CBus)
|
|||
continue;
|
||||
|
||||
*pppI2CBus = xnfrealloc(*pppI2CBus, n * sizeof(I2CBusPtr));
|
||||
*pppI2CBus[n - 1] = pI2CBus;
|
||||
pppI2CBus[n - 1] = pI2CBus;
|
||||
}
|
||||
|
||||
return n;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue