Fix CID 264288 Resource leak

opendir() needs closedir().

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Change-Id: I316ee4f83a8b964cd9b0a6a5c3142ee080cab747
Reviewed-on: https://review.coreboot.org/c/em100/+/37422
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
1 file changed