diff options
| author | meme <meme@users.noreply.github.com> | 2020-01-30 20:00:05 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-01-30 20:57:31 -0500 |
| commit | 1e78070a40bac709bfd25beb24c1721d4977a69d (patch) | |
| tree | 773521dd81a3061e453da40bf2f720097d7eb3e1 /lib/std/mutex.zig | |
| parent | d27678fe83f8c7d61cc41c7300d68fe502dd4999 (diff) | |
| download | zig-1e78070a40bac709bfd25beb24c1721d4977a69d.tar.gz zig-1e78070a40bac709bfd25beb24c1721d4977a69d.zip | |
build: Fix missing `dupe`
- Strange memory corruption issues occur when allocated memory is passed to the builder and it is `defer`'d and freed
- Instead, `dupe` the string as is done in other handlers, this fixes the issue
Diffstat (limited to 'lib/std/mutex.zig')
0 files changed, 0 insertions, 0 deletions
