eui64_line(): plug memory leak.
CID: 978412 Reviewed by: brooks, delphij CodeReview: https://reviews.freebsd.org/D1976
This commit is contained in:
parent
3bc9cbc06a
commit
3c61aa79bf
@ -132,6 +132,7 @@ eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len)
|
||||
goto bad;
|
||||
}
|
||||
|
||||
free(linehead);
|
||||
return (0);
|
||||
|
||||
bad:
|
||||
|
Loading…
Reference in New Issue
Block a user