From 51597eca84409f7f6f50d8ccc0cdfdc1c6905141 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 8 May 2019 16:18:51 +0100 Subject: [PATCH] i965_asm: fix memleak Signed-off-by: Eric Engestrom Reviewed-by: Lionel Landwerlin --- src/intel/tools/i965_asm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/tools/i965_asm.c b/src/intel/tools/i965_asm.c index 1a53568..6093b69 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; } -- 2.7.4