8000 Using posix_memalign/std::align_alloc and then std::free results in the memory leak detector claiming "Deallocating non-allocated memory" · Issue #1853 · cpputest/cpputest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Using posix_memalign/std::align_alloc and then std::free results in the memory leak detector claiming "Deallocating non-allocated memory" #1853
Open
@vlovich

Description

@vlovich

Allocate some memory with posix_memalign (or the C++ std::aligned_alloc) & then try to free it since free is defined as the corresponding dealloc to pointers returned by posix_memalign. The memory leak detector fails claiming the pointer deallocatino is Deallocating non-allocated memory because posix_memalign isn't intercepted by cpputest..

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

      0