| author | |
| committer | |
| log | 5236842a9d0f7b0a82c440bcc08d315db4051d48 |
| tree | c366d8359a696e903593187c2aa33a5fdffe16d9 |
| parent | f33af7af40faccc05f66417f1ba5caa4eb158769 |
1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/heap/general_purpose_allocator.zig+1| ... | ... | @@ -423,6 +423,7 @@ pub fn GeneralPurposeAllocator(comptime config: Config) type { |
| 423 | 423 | } |
| 424 | 424 | } else struct {}; |
| 425 | 425 | |
| 426 | /// Returns true if there were leaks; false otherwise. | |
| 426 | 427 | pub fn deinit(self: *Self) bool { |
| 427 | 428 | const leaks = if (config.safety) self.detectLeaks() else false; |
| 428 | 429 | if (config.retain_metadata) { |