Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freelist Malloc Defrag Over Increases Size of Free Block #54

Closed
RichardHabeeb opened this issue Apr 21, 2023 · 0 comments · Fixed by #55
Closed

Freelist Malloc Defrag Over Increases Size of Free Block #54

RichardHabeeb opened this issue Apr 21, 2023 · 0 comments · Fixed by #55

Comments

@RichardHabeeb
Copy link
Contributor

Freelist Malloc Defrag Over Increases Size of Free Block

Context

This will be an issue on all implementations that use this malloc implementation, regardless of environment.

Expected Behavior

Size of block in free list should be the same after allocating then freeing an object.

Current Behavior

The size of the remaining freelist block is increased by sizeof(char*)

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 a pull request may close this issue.

1 participant