i965_asm: fix memleak
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
committed by
Eric Engestrom
parent
53dfff1c4d
commit
51597eca84
@@ -82,6 +82,7 @@ i965_disasm_init(uint16_t pci_id)
|
||||
if (!gen_get_device_info(pci_id, devinfo)) {
|
||||
fprintf(stderr, "can't find device information: pci_id=0x%x\n",
|
||||
pci_id);
|
||||
free(devinfo);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user