aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/nlminfo.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-10-26 07:18:37 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-10-26 07:18:37 +0000
commitc0bc2867c1537839dc8bb0ceb35e84bdad3b8dee (patch)
tree3f4a9f5966afeecc321a52a8cf7599fb04dd68ff /sys/nfsclient/nlminfo.h
parentd7f119abd548385df37aa8e264731f5df3c5c91a (diff)
downloadsrc-c0bc2867c1537839dc8bb0ceb35e84bdad3b8dee.tar.gz
src-c0bc2867c1537839dc8bb0ceb35e84bdad3b8dee.zip
- Fix leak of struct nlminfo on process exit.
- Fix malloc type collision, that made the above problem difficult to understand. Reported by: Vladimir Sharun <sharun ukr.net>
Notes
Notes: svn path=/head/; revision=151695
Diffstat (limited to 'sys/nfsclient/nlminfo.h')
-rw-r--r--sys/nfsclient/nlminfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/nfsclient/nlminfo.h b/sys/nfsclient/nlminfo.h
index 3dc55b4e9a72..7d3e0ff0be9e 100644
--- a/sys/nfsclient/nlminfo.h
+++ b/sys/nfsclient/nlminfo.h
@@ -40,5 +40,3 @@ struct nlminfo {
int getlk_pid;
struct timeval pid_start; /* process starting time */
};
-
-extern void nlminfo_release(struct proc *p);