Need to free uv after we're done using it.
Reported by: andrew@ Sponsored by: Netflix
This commit is contained in:
parent
96c4f2c537
commit
082f2fb1a6
@ -96,6 +96,7 @@ efi_getenv(EFI_GUID *g, const char *v, void *data, size_t *len)
|
||||
rv = RS->GetVariable(uv, g, &attr, &dl, data);
|
||||
if (rv == EFI_SUCCESS)
|
||||
*len = dl;
|
||||
free(uv);
|
||||
return (rv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user