mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Fixing xf86I2CGetScreenBuses(), now dereferencing the correct pointer.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user