MCPcopy Create free account
hub / github.com/coreboot/coreboot / free_fo

Function free_fo

util/intelvbttool/intelvbttool.c:316–322  ·  view source on GitHub ↗

Free a fileobject structure */

Source from the content-addressed store, hash-verified

314
315/* Free a fileobject structure */
316static void free_fo(struct fileobject *fo)
317{
318 if (fo) {
319 free(fo->data);
320 free(fo);
321 }
322}
323
324/* Resize file object and keep memory content */
325static struct fileobject *remalloc_fo(struct fileobject *old,

Callers 6

read_fileFunction · 0.85
read_physmemFunction · 0.85
parse_vbtFunction · 0.85
parse_vbiosFunction · 0.85
patch_vbiosFunction · 0.85
mainFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected