diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/tools/aubinator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index 6c9a8f052c2..48d4456cc16 100644 --- a/src/intel/tools/aubinator.c +++ b/src/intel/tools/aubinator.c @@ -904,6 +904,8 @@ aub_file_open(const char *filename) exit(EXIT_FAILURE); } + close(fd); + file->cursor = file->map; file->end = file->map + sb.st_size / 4; |