소스 검색

delete local_str with the appropriate allocator

Colin Davidson 11 달 전
부모
커밋
0ed3d459f7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/time/timezone/tz_unix.odin

+ 1 - 1
core/time/timezone/tz_unix.odin

@@ -52,7 +52,7 @@ local_tz_name :: proc(allocator := context.allocator) -> (name: string, success:
 	}
 
 	if local_str == "" {
-		delete(local_str)
+		delete(local_str, allocator)
 
 		str, err := strings.clone("UTC", allocator)
 		if err != nil { return }