git: e1efe20f2a82 - stable/14 - pseudofs: don't leak the unrhdr on error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Apr 2026 13:44:15 UTC
The branch stable/14 has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=e1efe20f2a824a1736ee9aaca9cd0bcd9ace9b20
commit e1efe20f2a824a1736ee9aaca9cd0bcd9ace9b20
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-09-04 02:08:52 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2026-04-12 13:43:39 +0000
pseudofs: don't leak the unrhdr on error
Reviewed by: des, kib
(cherry picked from commit b9746f6185c708ebadc9a8b1e640c1deab52b161)
---
sys/fs/pseudofs/pseudofs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/fs/pseudofs/pseudofs.c b/sys/fs/pseudofs/pseudofs.c
index ef45f96a6192..d3aa35379139 100644
--- a/sys/fs/pseudofs/pseudofs.c
+++ b/sys/fs/pseudofs/pseudofs.c
@@ -475,6 +475,7 @@ pfs_init(struct pfs_info *pi, struct vfsconf *vfc)
if (error) {
pfs_destroy(root);
pi->pi_root = NULL;
+ pfs_fileno_uninit(pi);
return (error);
}