mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
st/nine: Fix leak with volume dtor
The last level was not released. Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
76e392d852
commit
f042639231
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ NineVolumeTexture9_dtor( struct NineVolumeTexture9 *This )
|
|||
DBG("This=%p\n", This);
|
||||
|
||||
if (This->volumes) {
|
||||
for (l = 0; l < This->base.base.info.last_level; ++l)
|
||||
for (l = 0; l <= This->base.base.info.last_level; ++l)
|
||||
NineUnknown_Destroy(&This->volumes[l]->base);
|
||||
FREE(This->volumes);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue