diff options
Diffstat (limited to 'firmware/lib/region-fw.c')
-rw-r--r-- | firmware/lib/region-fw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/lib/region-fw.c b/firmware/lib/region-fw.c index e2c6488a..2bc1a690 100644 --- a/firmware/lib/region-fw.c +++ b/firmware/lib/region-fw.c @@ -33,10 +33,10 @@ static VbError_t VbGbbReadKey(VbCommonParams *cparams, uint32_t offset, size = hdr.key_offset + hdr.key_size; if (size < sizeof(hdr)) size = sizeof(hdr); - key = VbExMalloc(size); + key = malloc(size); ret = VbRegionReadData(cparams, VB_REGION_GBB, offset, size, key); if (ret) { - VbExFree(key); + free(key); return ret; } |