Commit 72927ddd authored by Petri Latvala's avatar Petri Latvala

lib/aux: Plug memory leak in __igt_lsof_fds

Add a missing closedir call.
Signed-off-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 51b8d4cf
......@@ -1419,6 +1419,8 @@ again:
free(copy_fd_lnk);
free(fd_lnk);
}
closedir(dp);
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment