| ... | @@ -145,8 +145,8 @@ pub fn TracyAllocator(comptime name: ?[:0]const u8) type { | ... | @@ -145,8 +145,8 @@ pub fn TracyAllocator(comptime name: ?[:0]const u8) type { |
| 145 | freeNamed(buf.ptr, n); | 145 | freeNamed(buf.ptr, n); |
| 146 | allocNamed(buf.ptr, resized_len, n); | 146 | allocNamed(buf.ptr, resized_len, n); |
| 147 | } else { | 147 | } else { |
| 148 | alloc(buf.ptr, resized_len); | | |
| 149 | free(buf.ptr); | 148 | free(buf.ptr); |
| | 149 | alloc(buf.ptr, resized_len); |
| 150 | } | 150 | } |
| 151 | | 151 | |
| 152 | return resized_len; | 152 | return resized_len; |