embeddedartistry/libmemory

Support C11 free()

Open

#51 opened on Jul 16, 2019

 (3 comments) (0 reactions) (0 assignees)C (53 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (285 stars)
PR merge metrics
 (PR metrics pending)

Description

With aligned_alloc() in the C11 standard, free() is called to free memory, rather than an equivalent aligned_free().

We should update our library with some logic that can be used to correctly call aligned_free() if free() is used instead.

Contributor guide