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:
Eric Engestrom
2019-05-08 16:18:51 +01:00
committed by Eric Engestrom
parent 53dfff1c4d
commit 51597eca84
+1
View File
@@ -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;
}