svn commit: r328031 - head/stand/efi/boot1
Warner Losh
imp at FreeBSD.org
Mon Jan 15 22:17:40 UTC 2018
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);
}
More information about the svn-src-all
mailing list