diff options
author | Eric Engestrom <[email protected]> | 2019-05-08 16:18:51 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-05-09 10:03:15 +0000 |
commit | 51597eca84409f7f6f50d8ccc0cdfdc1c6905141 (patch) | |
tree | 24708c46123d25ac91e6184d4d5a3467ec63697f /src/intel/tools | |
parent | 53dfff1c4d95ee21661d86256f44eae26b985b50 (diff) |
i965_asm: fix memleak
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/tools')
-rw-r--r-- | src/intel/tools/i965_asm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/tools/i965_asm.c b/src/intel/tools/i965_asm.c index 1a53568abb5..6093b69f0b0 100644 --- a/src/intel/tools/i965_asm.c +++ b/src/intel/tools/i965_asm.c @@ -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; } |