fix a memory leak in probe
Signed-off-by: Xiaolei Yu <dreifachstein@gmail.com> Reviewed-by: Antoine Martin <antoine@nagafix.co.uk> Tested-by: Antoine Martin <antoine@nagafix.co.uk> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
This commit is contained in:
parent
33e6818566
commit
7957ad83b5
@ -254,6 +254,9 @@ DUMMYProbe(DriverPtr drv, int flags)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
free(devSections);
|
||||
|
||||
return foundScreen;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user