Date: Mon, 15 Jan 2018 22:17:39 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328031 - head/stand/efi/boot1 Message-ID: <201801152217.w0FMHdr6093223@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Mon Jan 15 22:17:39 2018 New Revision: 328031 URL: https://svnweb.freebsd.org/changeset/base/328031 Log: Need to free uv after we're done using it. Reported by: andrew@ Sponsored by: Netflix Modified: head/stand/efi/boot1/boot1.c Modified: head/stand/efi/boot1/boot1.c ============================================================================== --- head/stand/efi/boot1/boot1.c Mon Jan 15 22:17:34 2018 (r328030) +++ head/stand/efi/boot1/boot1.c Mon Jan 15 22:17:39 2018 (r328031) @@ -96,6 +96,7 @@ efi_getenv(EFI_GUID *g, const char *v, void *data, siz rv = RS->GetVariable(uv, g, &attr, &dl, data); if (rv == EFI_SUCCESS) *len = dl; + free(uv); return (rv); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801152217.w0FMHdr6093223>