Skip to content

Malloc checking #4

Description

@saaros

OMcahce doesn't do a lot of memory allocation, but where it does, it doesn't check the return values. Consider doing something about this. Just adding checks for NULL isn't enough, failed allocations need to either call abort() (which isn't a nice thing in a library) or they need to roll back the operation and they need tests to make sure it actually works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions