From 51597eca84409f7f6f50d8ccc0cdfdc1c6905141 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 8 May 2019 16:18:51 +0100 Subject: 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(+) (limited to 'src/intel/tools') 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; } -- cgit v1.2.3