mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
+4
-4
@@ -22,11 +22,11 @@ main :: proc() {
|
|||||||
|
|
||||||
_main()
|
_main()
|
||||||
|
|
||||||
for _, v in track.allocation_map {
|
for _, leak in track.allocation_map {
|
||||||
fmt.printf("%v leaked %v bytes", v.location, v.size)
|
fmt.printf("%v leaked %v bytes\n", leak.location, leak.size)
|
||||||
}
|
}
|
||||||
for bf in track.bad_free_array {
|
for bad_free in track.bad_free_array {
|
||||||
fmt.printf("%v allocation %p was freed badly", bf.location, bf.memory)
|
fmt.printf("%v allocation %p was freed badly\n", bad_free.location, bad_free.memory)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user