summaryrefslogtreecommitdiff
path: root/sys/kern/kern_linker.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-15 18:58:38 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-15 18:58:38 +0000
commit7c61d7858c5d1eca9dee07e7d11d103bc47f434f (patch)
treefc2d0ac6c1fcf6ff1934c35bef3cc3d24e7c0754 /sys/kern/kern_linker.c
parent9736c8f03a57ce5515ed5d91d373c0d2b5d06777 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_linker.c')
-rw-r--r--sys/kern/kern_linker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 2952be0a8b57..07550219cceb 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1531,6 +1531,7 @@ linker_hints_lookup(const char *path, int pathlen, const char *modname,
printf("warning: KLD '%s' is newer than the linker.hints"
" file\n", result);
bad:
+ free(pathbuf, M_LINKER);
if (hints)
free(hints, M_TEMP);
if (nd.ni_vp != NULL) {