Jeroen van Rijn 2 years ago
parent
commit
1e4a4181e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/encoding/json/types.odin

+ 1 - 1
core/encoding/json/types.odin

@@ -88,7 +88,7 @@ Error :: enum {
 
 
 destroy_value :: proc(value: Value, allocator := context.allocator) {
-	context.allocator := allocator
+	context.allocator = allocator
 	#partial switch v in value {
 	case Object:
 		for key, elem in v {