Skip to content

Fix allocation issue - #136

Merged
dag-erling merged 2 commits into
laurikari:masterfrom
dag-erling:des/minimal_tags
May 7, 2026
Merged

Fix allocation issue#136
dag-erling merged 2 commits into
laurikari:masterfrom
dag-erling:des/minimal_tags

Conversation

@dag-erling

Copy link
Copy Markdown
Collaborator

On 64-bit systems, we were allocating twice as much memory as we needed for minimal_tags.

While here, also fix a typo in an include guard.

dag-erling added 2 commits May 7, 2026 10:33
We were passing the size of the pointer instead of the size of the
pointed-to type, which resulted in allocating twice as much as we
actually need on 64-bit platforms.

Fixes laurikari#135.
@dag-erling
dag-erling merged commit f864ed0 into laurikari:master May 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant