projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615bbf0
)
ilo: clear writer pointer after unmapping
author
Chia-I Wu
<olvaffe@gmail.com>
Tue, 14 Oct 2014 00:29:16 +0000
(08:29 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Tue, 14 Oct 2014 00:54:25 +0000
(08:54 +0800)
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>
src/gallium/drivers/ilo/ilo_builder_decode.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_builder_decode.c
b/src/gallium/drivers/ilo/ilo_builder_decode.c
index 470c1ae09898e4a697f86bd303df571e2e2c7376..922acc00cc151fae694356c7bb20fa0c0ed1ac00 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_builder_decode.c
+++ b/
src/gallium/drivers/ilo/ilo_builder_decode.c
@@
-529,6
+529,7
@@
ilo_builder_writer_decode_items(struct ilo_builder *builder,
}
intel_bo_unmap(writer->bo);
+ writer->ptr = NULL;
}
static void