diff options
Diffstat (limited to 'src/intel/tools/error2aub.c')
-rw-r--r-- | src/intel/tools/error2aub.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c index b6e056cbcde..fb4b4ffcfc6 100644 --- a/src/intel/tools/error2aub.c +++ b/src/intel/tools/error2aub.c @@ -327,6 +327,16 @@ main(int argc, char *argv[]) aub_write_exec(&aub, batch_addr, aub_gtt_size(&aub), I915_EXEC_RENDER); + free(out_filename); + free(line); + if(err_file) { + fclose(err_file); + } + if(aub.file) { + aub_file_finish(&aub); + } else if(aub_file) { + fclose(aub_file); + } return EXIT_SUCCESS; } |