Skip to content

Add a wrapper for getline #626

@ayrtonm

Description

@ayrtonm

getline may allocate which will call libc's malloc directly meaning that that memory needs to be freed with the same allocator. To avoid requiring this we should provide a wrapper for getline that does the allocation using PA malloc. We should then change __real_free to free in memory_maps.c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions