summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-04-24 11:39:54 -0400
committerRob Clark <[email protected]>2016-04-24 13:40:57 -0400
commit36c9ea6e79267d62e8d71cc51c6d6db4bdb6f977 (patch)
treeee7b88dfcf4b42c980efffe712798ece69f6c02b /src/gallium
parent610837fb9831b5b1430b31cdc6e110edf3fe7d94 (diff)
freedreno/ir3: fix small memory leak
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.c b/src/gallium/drivers/freedreno/ir3/ir3.c
index 3de8fdc11b3..f512142c535 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3.c
@@ -96,6 +96,8 @@ void ir3_destroy(struct ir3 *shader)
free(shader->indirects);
free(shader->predicates);
free(shader->baryfs);
+ free(shader->keeps);
+ free(shader->astc_srgb);
free(shader);
}