Skip to content

Conversation

@leonardo-albertovich
Copy link
Contributor

This PR fixes a memory leak in the plugin proxy, the regular plugin destruction process counts on the name (and description) being constants, however, the plugin proxy makes copies of them when creating both plugin spec instances.

ToDo: I don't really understand why does the plugin proxy create two instances of the flb_output_plugin / flb_input_plugin structure so I need to check with the code owner to get a better understanding of the reasoning behind it.

Note : This is a backport of PR #10179

Signed-off-by: Leonardo Alminana <leonardo.alminana@chronosphere.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants