commit | f34b6942ec5fd7ee3724576b8ee962c2553aad24 | [log] [tgz] |
---|---|---|
author | Kevin Strasser <kevin.strasser@intel.com> | Fri May 18 12:48:17 2018 -0700 |
committer | Eric Engestrom <eric.engestrom@intel.com> | Mon May 21 15:06:48 2018 +0100 |
tree | 1833ca6e705b3f9f6d78db2ee01f2d44d044f29a | |
parent | cb592ac8166e348bf61afa3f7b7f626ccaf55a0f [diff] |
xf86drm: Be sure to closedir before return removed in commit bb45ce4e3ac751315bfd7fbfd9e1425bf515ec0d Adding it back as it is still needed in the case where we don't find a match. Signed-off-by: Kevin Strasser <kevin.strasser@intel.com> Fixes: bb45ce4e3ac751315bfd "libdrm: Use readdir instead of readdir_r to avoid build warnings"$ Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>