소스 검색

Fix small memory leak in nanovg.

Alkamist 2 년 전
부모
커밋
cedf01d094
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)
 }