Summary: | When the last heap in the user process into the non-main area has memory in use, even if the previous heap is already free, the previous heap will not be released | ||
---|---|---|---|
Product: | glibc | Reporter: | liudongyun <liu.dongyun> |
Component: | malloc | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.33 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | my idea |
Description
liudongyun
2021-06-10 10:03:21 UTC
Created attachment 13490 [details]
my idea
When the user calls the free function, check whether the heap where the current chunk is located is free, and if so, release the entire heap
|