Browse Source

Fix small memory leak in nanovg.

Alkamist 2 năm trước cách đây
mục cha
commit
cedf01d094
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      vendor/nanovg/nanovg.odin

+ 1 - 0
vendor/nanovg/nanovg.odin

@@ -336,6 +336,7 @@ DeleteInternal :: proc(ctx: ^Context) {
 		ctx.params.renderDelete(ctx.params.userPtr)
 	}
 
+	delete(ctx.commands)
 	free(ctx)
 }