aboutsummaryrefslogtreecommitdiffstats
path: root/libskrift_free_context.c
blob: 2375c05a0e7f46d5c0fa13f071ab2e0c19fb9c35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* See LICENSE file for copyright and license details. */
#include "common.h"

void
libskrift_free_context(LIBSKRIFT_CONTEXT *ctx)
{
	if (ctx) {
		libskrift_close_font(ctx->font);
		free(ctx);
	}
}