Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

record_accessor: Plug a resource leak on exception (CID 508119) #9306

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/flb_record_accessor.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ flb_sds_t flb_ra_create_str_from_list(struct flb_sds_list *str_list)
strs = flb_sds_list_create_str_array(str_list);
if (strs == NULL) {
flb_error("%s flb_sds_list_create_str_array failed", __FUNCTION__);
flb_sds_destroy(str);
return NULL;
}

Expand Down
Loading