diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2021-09-15 17:31:40 -0700 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-09-16 11:43:07 +0200 |
| commit | db940a2c8131c52fb6e1f2e40af9c68d2228e656 (patch) | |
| tree | e5dda363b6556ce35e3d00211e509e5890651552 /src/Module.zig | |
| parent | e1bf350b4d66a682c8fc5f151563dd1725e8eaf1 (diff) | |
| download | zig-db940a2c8131c52fb6e1f2e40af9c68d2228e656.tar.gz zig-db940a2c8131c52fb6e1f2e40af9c68d2228e656.zip | |
std.unicode: cleanup allocations on error in allocating functions
Fixes leaks when `utf16leToUtf8Alloc`/`utf16leToUtf8AllocZ`/`utf8ToUtf16LeWithNull` return an error and adds relevant test cases
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
