Skip to content

Commit

Permalink
plugin_proxy: release proxy api on exit
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 committed Jul 29, 2021
1 parent 30e0bab commit 7f0f057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flb_plugin_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ struct flb_plugin_proxy *flb_plugin_proxy_create(const char *dso_path, int type,
void flb_plugin_proxy_destroy(struct flb_plugin_proxy *proxy)
{
/* cleanup */
flb_api_destroy(proxy->api);
dlclose(proxy->dso_handler);
mk_list_del(&proxy->_head);
flb_free(proxy);
Expand Down

0 comments on commit 7f0f057

Please sign in to comment.