commit | 6f1c3de95e614cd32a43bd77819df47da5e068ab | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Apr 05 16:40:15 2017 -0400 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 06 15:26:13 2017 +0000 |
tree | 42aea355ef016810e2a3a6ec920e45220aee3fbb | |
parent | df55f252e6cde51e6eb3f334b9d9740d860b38de [diff] |
gpu_info_util: fix a DeviceInfo leak on Windows BUG=angleproject:1874 Change-Id: I382e306ce0c27a81e0d746fb9922fa12988927d4 Reviewed-on: https://chromium-review.googlesource.com/469230 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/gpu_info_util/SystemInfo_win.cpp b/src/gpu_info_util/SystemInfo_win.cpp index 334fae7..3073822 100644 --- a/src/gpu_info_util/SystemInfo_win.cpp +++ b/src/gpu_info_util/SystemInfo_win.cpp
@@ -110,6 +110,8 @@ devices->push_back(device); } + SetupDiDestroyDeviceInfoList(deviceInfo); + return true; }