freedreno/ir3: fix small memory leak
authorRob Clark <robclark@freedesktop.org>
Sun, 24 Apr 2016 15:39:54 +0000 (11:39 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 24 Apr 2016 17:40:57 +0000 (13:40 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3.c

index 3de8fdc11b3ea82f0b368649309ba81b3569bc94..f512142c535c7fc56a88bcbb60ebc21b56657c79 100644 (file)
@@ -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);
 }