projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51597ec
)
i965_asm: avoid free()ing uninitialized pointers
author
Eric Engestrom
<eric.engestrom@intel.com>
Wed, 8 May 2019 15:19:23 +0000
(16:19 +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 6093b69f0b07c14ee949192e381f13fd992bda65..a8e7fe6eff0d5cbc2a3512b2e04efbcaa2d316a5 100644
(file)
--- a/
src/intel/tools/i965_asm.c
+++ b/
src/intel/tools/i965_asm.c
@@
-102,7
+102,7
@@
int main(int argc, char **argv)
int offset = 0, err;
int start_offset = 0;
struct disasm_info *disasm_info;
- struct gen_device_info *devinfo;
+ struct gen_device_info *devinfo
= NULL
;
int result = EXIT_FAILURE;
const struct option i965_asm_opts[] = {