aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2021-09-15 17:31:40 -0700
committerIsaac Freund <ifreund@ifreund.xyz>2021-09-16 11:43:07 +0200
commitdb940a2c8131c52fb6e1f2e40af9c68d2228e656 (patch)
treee5dda363b6556ce35e3d00211e509e5890651552 /src/Module.zig
parente1bf350b4d66a682c8fc5f151563dd1725e8eaf1 (diff)
downloadzig-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