From 36c9ea6e79267d62e8d71cc51c6d6db4bdb6f977 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 24 Apr 2016 11:39:54 -0400 Subject: [PATCH] freedreno/ir3: fix small memory leak Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.30.2