aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/volume9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-01-28 22:32:43 +0100
committerAxel Davy <[email protected]>2016-02-04 22:12:17 +0100
commit94d91c67077a5efd13b9505fe01a3c80ccb37bc9 (patch)
tree5318fe0b3edb06c75a1250436c897d6d30911e02 /src/gallium/state_trackers/nine/volume9.c
parent6b12fe77ea7bbd8f159c0902a7c1d4ab22d4629c (diff)
st/nine: Use align_free when needed
Use align_free to free memory allocated with align_malloc. Signed-off-by: Axel Davy <[email protected]> Reviewed-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/volume9.c')
-rw-r--r--src/gallium/state_trackers/nine/volume9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/state_trackers/nine/volume9.c
index b559fc268ab..f6988923caa 100644
--- a/src/gallium/state_trackers/nine/volume9.c
+++ b/src/gallium/state_trackers/nine/volume9.c
@@ -136,7 +136,7 @@ NineVolume9_dtor( struct NineVolume9 *This )
NineVolume9_UnlockBox(This);
if (This->data)
- FREE(This->data);
+ align_free(This->data);
pipe_resource_reference(&This->resource, NULL);