diff options
| author | Zoltán Kéri <z@zolk3ri.name> | 2024-12-24 16:00:00 +0100 |
|---|---|---|
| committer | Zoltán Kéri <z@zolk3ri.name> | 2024-12-24 16:00:00 +0100 |
| commit | 93238db202c6648d11d4a78a83b1a29751ac77a3 (patch) | |
| tree | d75d6f58fb9819d8dee6b12d9f4008cf1cd134da /src/llvm_backend_expr.cpp | |
| parent | f1f2ed31940d02728ce55e591743834968dd5994 (diff) | |
encoding/base32: Use consistent allocator and add proper cleanup
Fix memory handling throughout base32 package:
- Make padding map package-level constant (to avoid repeated allocs)
- Use passed allocator in encode's make() call
- Add defer delete for allocated memory in encode
- Add proper cleanup in test cases
- Fix memory cleanup of output buffers
The changes ensure consistent allocator usage and cleanup in both
implementation and tests.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions