summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-02 10:47:11 -0200
committerRenato Botelho <renato@netgate.com>2016-11-02 10:47:11 -0200
commit3c84ef4df7f599fdf9db66521c3d33c167458687 (patch)
tree95795d4a6304e89128b277db8769df4a7d074fa4 /sys/vm/vm_fault.c
parenteb2387fb3f25275b8ca223e3c464563294982bde (diff)
parent3944e88fda9dc9f4f391a06b18cd7583f783e8ec (diff)
downloadFreeBSD-src-3c84ef4df7f599fdf9db66521c3d33c167458687.zip
FreeBSD-src-3c84ef4df7f599fdf9db66521c3d33c167458687.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r--sys/vm/vm_fault.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 909f57f..f07b127 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -320,6 +320,8 @@ RetryFault:;
growstack = FALSE;
goto RetryFault;
}
+ if (fs.vp != NULL)
+ vput(fs.vp);
return (result);
}
OpenPOWER on IntegriCloud