eui64_line(): plug memory leak.

CID:		978412
Reviewed by:	brooks, delphij
CodeReview:	https://reviews.freebsd.org/D1976
This commit is contained in:
Pedro F. Giffuni 2015-02-27 18:13:06 +00:00
parent 08189ed667
commit 726b99f9f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279363

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: