# build: Fix missing \`dupe\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1e78070a40bac709bfd25beb24c1721d4977a69d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1e78070a40bac709bfd25beb24c1721d4977a69d

Requested commit: 1e78070a40bac709bfd25beb24c1721d4977a69d

Commit: 1e78070a40bac709bfd25beb24c1721d4977a69d

Tree: 773521dd81a3061e453da40bf2f720097d7eb3e1

Author: meme

Committer: Andrew Kelley

## Message

```
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

```

## Parents

- [d27678fe83f8c7d61cc41c7300d68fe502dd4999](https://git.cafe/gitcafe/zig/commit/d27678fe83f8c7d61cc41c7300d68fe502dd4999?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1e78070a40bac709bfd25beb24c1721d4977a69d?format=markdown)
