projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53dfff1
)
i965_asm: fix memleak
author
Eric Engestrom
<eric.engestrom@intel.com>
Wed, 8 May 2019 15:18:51 +0000
(16:18 +0100)
committer
Eric Engestrom
<eric@engestrom.ch>
Thu, 9 May 2019 10:03:15 +0000
(10:03 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/i965_asm.c
patch
|
blob
|
history
diff --git
a/src/intel/tools/i965_asm.c
b/src/intel/tools/i965_asm.c
index
1a53568
..
6093b69
100644
(file)
--- 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;
}