xf86drm: Be sure to closedir before return
removed in commitmainbb45ce4e3a
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:bb45ce4e3a
"libdrm: Use readdir instead of readdir_r to avoid build warnings"$ Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
parent
cb592ac816
commit
f34b6942ec
Loading…
Reference in New Issue