svn commit: r368395 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Sun Dec 6 19:24:38 UTC 2020
Author: mjg
Date: Sun Dec 6 19:24:38 2020
New Revision: 368395
URL: https://svnweb.freebsd.org/changeset/base/368395
Log:
vfs: add cleanup on error missed in r368375
Noted by: jrtc27
Modified:
head/sys/kern/vfs_lookup.c
Modified: head/sys/kern/vfs_lookup.c
==============================================================================
--- head/sys/kern/vfs_lookup.c Sun Dec 6 18:43:12 2020 (r368394)
+++ head/sys/kern/vfs_lookup.c Sun Dec 6 19:24:38 2020 (r368395)
@@ -486,6 +486,7 @@ namei_getpath(struct nameidata *ndp)
}
if (__predict_false(error != 0)) {
+ namei_cleanup_cnp(cnp);
return (error);
}
More information about the svn-src-head
mailing list