diff options
author | Xiaolei Yu <dreifachstein@gmail.com> | 2017-08-05 21:50:14 +0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2017-08-05 17:02:03 -0700 |
commit | 7957ad83b53b57f376164b10742d4e35223c9dcc (patch) | |
tree | 89166f538b4bcf35b3df84d72b9eacc1cc7a62e7 | |
parent | 33e68185665b2d065525ac03332f080026b18d8d (diff) |
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>
-rw-r--r-- | src/dummy_driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c index 03fa1d7..c093f77 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -254,6 +254,9 @@ DUMMYProbe(DriverPtr drv, int flags) } } } + + free(devSections); + return foundScreen; } |