Skip to content

BUG: call to realloc(ptr, size) with zero size and valid ptr should call free(ptr) #6

@onlyeffect

Description

@onlyeffect

From Linux manual of realloc:

If ptr is NULL, then the call is equivalent to malloc(size), for all values of size; if size is equal to zero, and ptr is not NULL, then the call is equivalent to free(ptr).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions