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:
Xiaolei Yu 2017-08-05 21:50:14 +07:00 committed by Aaron Plattner
parent 33e6818566
commit 7957ad83b5

View File

@ -254,6 +254,9 @@ DUMMYProbe(DriverPtr drv, int flags)
}
}
}
free(devSections);
return foundScreen;
}