mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
ilo: clear writer pointer after unmapping
It does not look like an issue now but it is good to be future proof. Spotted by Courtney Goeltzenleuchter. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
parent
615bbf0ca6
commit
4e2cf84b1f
1 changed files with 1 additions and 0 deletions
|
|
@ -529,6 +529,7 @@ ilo_builder_writer_decode_items(struct ilo_builder *builder,
|
|||
}
|
||||
|
||||
intel_bo_unmap(writer->bo);
|
||||
writer->ptr = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue