Skip to content
Commit f34b6942 authored by Kevin Strasser's avatar Kevin Strasser Committed by Eric Engestrom
Browse files

xf86drm: Be sure to closedir before return



removed in commit bb45ce4e

Adding it back as it is still needed in the case where we don't find a
match.

Signed-off-by: default avatarKevin Strasser <kevin.strasser@intel.com>
Fixes: bb45ce4e "libdrm: Use readdir instead of readdir_r to
                             avoid build warnings"$
Reviewed-by: default avatarEric Engestrom <eric.engestrom@intel.com>
parent cb592ac8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment