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 <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Yevhenii Kolesnikov 2019-07-23 18:35:29 +03:00 committed by Marek Olšák
parent e272fdd508
commit 53730ab32c
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}