diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/brand/lx/syscall/lx_link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/brand/lx/syscall/lx_link.c b/usr/src/uts/common/brand/lx/syscall/lx_link.c index 4ebf491d23..c4e8fbc93c 100644 --- a/usr/src/uts/common/brand/lx/syscall/lx_link.c +++ b/usr/src/uts/common/brand/lx/syscall/lx_link.c @@ -116,6 +116,7 @@ lx_isdir(int atfd, char *path) if (cstatat_getvp(atfd, path, NO_FOLLOW, &vp, &cr) != 0) return (B_FALSE); + crfree(cr); is_dir = (vp->v_type == VDIR); VN_RELE(vp); |