eui64_line(): plug memory leak.

CID:		978412
Reviewed by:	brooks, delphij
CodeReview:	https://reviews.freebsd.org/D1976
This commit is contained in:
pfg 2015-02-27 18:13:06 +00:00
parent 3bc9cbc06a
commit 3c61aa79bf

View File

@ -132,6 +132,7 @@ eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len)
goto bad;
}
free(linehead);
return (0);
bad: