diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-04-22 19:27:01 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-04-22 19:27:01 +0200 |
| commit | f72f49a69411bfa13520f0add565eed1a3746c09 (patch) | |
| tree | ae338d475c683d0d141c6c26161d9f404c13bf6d | |
| parent | 853105b9d2cc813cab4c9f698960224394ec7899 (diff) | |
dash reset debug
| -rw-r--r-- | src/vkvg_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vkvg_context.c b/src/vkvg_context.c index ec18ffc..3344658 100644 --- a/src/vkvg_context.c +++ b/src/vkvg_context.c @@ -247,8 +247,10 @@ void _clear_context (VkvgContext ctx) { ctx->pPrev->pNext = ctx->pNext; ctx->pNext->pPrev = ctx->pPrev; }*/ - if (ctx->dashCount > 0) + if (ctx->dashCount > 0) { free(ctx->dashes); + ctx->dashCount = 0; + } } void vkvg_destroy (VkvgContext ctx) |