Skip to content

seccomp_accept_cb: fix memory leak#557

Merged
jnovy merged 1 commit intocontainers:mainfrom
kolyshkin:nits
Apr 24, 2025
Merged

seccomp_accept_cb: fix memory leak#557
jnovy merged 1 commit intocontainers:mainfrom
kolyshkin:nits

Conversation

@kolyshkin
Copy link
Collaborator

Users of recvfd are expected to free the .name.

Users of recvfd are expected to free the .name.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@jnovy
Copy link
Collaborator

jnovy commented Apr 24, 2025

Yeah, the whole concept of file_t is a bit unfortunate... This is a memleak indeed. Thanks for noticing! LGTM

@jnovy jnovy merged commit 503645f into containers:main Apr 24, 2025
24 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants