From: Rob Clark Date: Sun, 24 Apr 2016 15:39:54 +0000 (-0400) Subject: freedreno/ir3: fix small memory leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36c9ea6e79267d62e8d71cc51c6d6db4bdb6f977;p=mesa.git freedreno/ir3: fix small memory leak Signed-off-by: Rob Clark --- 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); }