Commit 6f1c3de9 by Corentin Wallez Committed by Commit Bot

gpu_info_util: fix a DeviceInfo leak on Windows

BUG=angleproject:1874 Change-Id: I382e306ce0c27a81e0d746fb9922fa12988927d4 Reviewed-on: https://chromium-review.googlesource.com/469230Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
parent df55f252
...@@ -110,6 +110,8 @@ bool GetDevicesFromRegistry(std::vector<GPUDeviceInfo> *devices) ...@@ -110,6 +110,8 @@ bool GetDevicesFromRegistry(std::vector<GPUDeviceInfo> *devices)
devices->push_back(device); devices->push_back(device);
} }
SetupDiDestroyDeviceInfoList(deviceInfo);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment