summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/net/eui64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/eui64.c b/lib/libc/net/eui64.c
index d9ed76c915aa..bb3077f84693 100644
--- a/lib/libc/net/eui64.c
+++ b/lib/libc/net/eui64.c
@@ -132,6 +132,7 @@ eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len)
goto bad;
}
+ free(linehead);
return (0);
bad: