# Allocator.create: properly handle alignment for zero-sized types \(\#21864\) · gitcafe/zig

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

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

Visibility: public

Requested revision: f391a2cd2075855a1b179eaef9facbdd539b4b8a

Requested commit: f391a2cd2075855a1b179eaef9facbdd539b4b8a

Commit: f391a2cd2075855a1b179eaef9facbdd539b4b8a

Tree: 0451010582e0268e785045c8fa3b4246eebffc6f

Author: Kendall Condon

Committer: Alex Rønne Petersen

## Message

```
Allocator.create: properly handle alignment for zero-sized types (#21864)


```

## Parents

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

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