aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYevhenii Kolesnikov <[email protected]>2019-07-23 18:35:29 +0300
committerMarek Olšák <[email protected]>2019-07-24 15:31:26 -0400
commit53730ab32cd539c2ccce6027f7b873ed65b675cd (patch)
tree9f8bdfc7390483f30fd497fe3a20f1e0a6b44828
parente272fdd508f844f6545827273b3cf2f109759a6d (diff)
main: Free memory allocated for gl_bitmap_atlas structure
Structure itself wasn't freed during context tear-down, causing a memory leak on iris. Signed-off-by: Yevhenii Kolesnikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r--src/mesa/main/dlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index a4dcaa24f28..7dd39a1bafa 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -759,6 +759,7 @@ _mesa_delete_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas)
ctx->Driver.DeleteTexture(ctx, atlas->texObj);
}
free(atlas->glyphs);
+ free(atlas);
}