Skip to content

Commit

Permalink
Fix leak
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Jun 25, 2024
1 parent c0f1cd7 commit dc6ac55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion external/ebpf-verifier
2 changes: 1 addition & 1 deletion external/usersim
Submodule usersim updated 1 files
+1 −1 external/Catch2
1 change: 1 addition & 0 deletions libs/execution_context/ebpf_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ ebpf_link_detach_program(_Inout_ ebpf_link_t* link)

ebpf_program_detach_link(link->program, link);

ebpf_free((void*)link->client_data.data);
link->client_data.data = NULL;
link->client_data.header.size = 0;
link->client_data.header.version = EBPF_ATTACH_CLIENT_DATA_VERSION_1;
Expand Down

0 comments on commit dc6ac55

Please sign in to comment.