Skip to content

redundant null check in s2n_free? #152

@ariccio

Description

@ariccio

s2n_free checks if b->data is nonzero before calling free.... But free is totally cool with a NULL pointer, so this just adds code bloat?

What's up with that?

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