diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-04-22 19:59:38 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-04-22 19:59:38 +0200 |
| commit | 96107ef47246b9dcd38d803bd0e02b5b1dd29f7e (patch) | |
| tree | 0056cb5622de7fbec67942b5f93de6d7599d638d | |
| parent | f72f49a69411bfa13520f0add565eed1a3746c09 (diff) | |
free remaining saved context debug, set pSavedCtxs=NULL
| -rw-r--r-- | src/vkvg_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vkvg_context.c b/src/vkvg_context.c index 3344658..88249be 100644 --- a/src/vkvg_context.c +++ b/src/vkvg_context.c @@ -218,6 +218,7 @@ void vkvg_flush (VkvgContext ctx){ void _clear_context (VkvgContext ctx) { //free saved context stack elmt vkvg_context_save_t* next = ctx->pSavedCtxs; + ctx->pSavedCtxs = NULL; while (next != NULL) { vkvg_context_save_t* cur = next; next = cur->pNext; |