# Fix a UAF when verbose-llvm-ir is specified · gitcafe/zig

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

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

Visibility: public

Requested revision: 327d40e7a3cd67e2f4fbe3af226d4bc6860f6f68

Requested commit: 327d40e7a3cd67e2f4fbe3af226d4bc6860f6f68

Commit: 327d40e7a3cd67e2f4fbe3af226d4bc6860f6f68

Tree: 12636697e1d422b3737d830c9e1e8dd1bb12a3d0

Author: LemonBoy

Committer: LemonBoy

## Message

```
Fix a UAF when verbose-llvm-ir is specified

The g->module is long gone when codegen_link is called.

```

## Parents

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

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