Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

adityamandaleeka
Copy link
Member

I noticed while working in the virtual memory code that InternalFree still exists, but is just a wrapper around free. This change removes it and updates the PAL code that was using it to just use free.

I left InternalMalloc alone since it has a bit of extra logic to handle the case where the size requested is 0 (it changes the size to 1 since malloc(0) might return null).

@sergiy-k PTAL

@sergiy-k
Copy link

LGTM

@adityamandaleeka adityamandaleeka merged commit b49116c into dotnet:master Jul 29, 2016
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…nternal_free

Remove CorUnix::InternalFree from PAL

Commit migrated from dotnet/coreclr@b49116c
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants