Fix small memory leak in nanovg.

This commit is contained in:
Alkamist
2023-08-03 18:36:12 -04:00
parent 4a71603a77
commit cedf01d094
+1
View File
@@ -336,6 +336,7 @@ DeleteInternal :: proc(ctx: ^Context) {
ctx.params.renderDelete(ctx.params.userPtr) ctx.params.renderDelete(ctx.params.userPtr)
} }
delete(ctx.commands)
free(ctx) free(ctx)
} }