diff options
author | Axel Davy <[email protected]> | 2016-10-24 21:50:26 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:21 +0100 |
commit | c3e5140142c65edc7004a3e8c0d4a852dfb8e60e (patch) | |
tree | 314267acadd20019e8b25a3b8c3c5b66b49e10dc /src/gallium/state_trackers/nine | |
parent | 9c0f65e08a197d153801f0ea3ee0fb9e85884f44 (diff) |
st/nine: Correctly release sw cursor image
cursor.image is used for software cursor
emulation. It wasn't released.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r-- | src/gallium/state_trackers/nine/device9.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index a78d18e5267..62f2e8e52d4 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/state_trackers/nine/device9.c @@ -511,6 +511,7 @@ NineDevice9_dtor( struct NineDevice9 *This ) FREE(This->state.vs_const_b); FREE(This->state.vs_const_f_swvp); + pipe_resource_reference(&This->cursor.image, NULL); FREE(This->cursor.hw_upload_temp); if (This->swapchains) { |