mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
pam_xdg: Close the dir after removal
CID: 1534878
Sponsored by: Beckhoff Automation GmbH & Co. KG
(cherry picked from commit 56ec98a04d)
This commit is contained in:
parent
4d2dad92ee
commit
b556c37f83
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ remove_dir(int fd)
|
|||
}
|
||||
unlinkat(fd, dp->d_name, 0);
|
||||
}
|
||||
closedir(dirp);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue