Skip to content

[OPTEE Driver] memory leak in tee_shm.c #86

@omasse-nxp

Description

@omasse-nxp

Hello,

I find a memory leak in optee driver introduced by the following commit:
9d5c773

the driver do not release correctly a dma_buf_attachment structure when releasing a file descriptor shared memory.
PFA a patch to fix the issue.

0001-MMIOT-674-Add-missing-DMA-Buf-detach.zip

BR / Olivier

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