# fix not checking type of return pointer · gitcafe/zig

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

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

Visibility: public

Requested revision: 5ea79bfc4a0a1269930d98faee36a8f6cb0b0401

Requested commit: 5ea79bfc4a0a1269930d98faee36a8f6cb0b0401

Commit: 5ea79bfc4a0a1269930d98faee36a8f6cb0b0401

Tree: e69f01abb631fb64fa95556a70d300f41d5b3521

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix not checking type of return pointer

Thanks to Vexu for the test cases.

Closes #3422
Closes #3646
Closes #3224
Closes #3327
Closes #3269

```

## Parents

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

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