diff options
author | Brian Paul <[email protected]> | 2014-04-18 12:20:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-04-21 08:30:46 -0600 |
commit | 27496af67f1a15a3a9aa5d5e09d43d9365101f71 (patch) | |
tree | 29b49b64d7782180bab96a4018fbcc5aeb412958 /docs/relnotes/10.1.1.html | |
parent | 9fec560e63acd665870db9ab02f702ca677ce910 (diff) |
st/mesa: fix invalid pointer use in st_texture_get_sampler_view()
The '**used' pointer was pointing into the stObj->sampler_views array.
If 'free' was null, we'd realloc that array, thus making the 'used'
pointer invalid. This soon led to memory errors.
Just change the pointer to be '*used' so it points directly at the
pipe_sampler_view.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'docs/relnotes/10.1.1.html')
0 files changed, 0 insertions, 0 deletions