Date: Fri, 27 Feb 2015 18:13:07 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279363 - head/lib/libc/net Message-ID: <201502271813.t1RID7eQ019672@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Fri Feb 27 18:13:06 2015 New Revision: 279363 URL: https://svnweb.freebsd.org/changeset/base/279363 Log: eui64_line(): plug memory leak. CID: 978412 Reviewed by: brooks, delphij CodeReview: https://reviews.freebsd.org/D1976 Modified: head/lib/libc/net/eui64.c Modified: head/lib/libc/net/eui64.c ============================================================================== --- head/lib/libc/net/eui64.c Fri Feb 27 16:43:50 2015 (r279362) +++ head/lib/libc/net/eui64.c Fri Feb 27 18:13:06 2015 (r279363) @@ -132,6 +132,7 @@ eui64_line(const char *l, struct eui64 * goto bad; } + free(linehead); return (0); bad:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502271813.t1RID7eQ019672>