Skip to content

Comments

fix(ha_videx): free curl resources to prevent memory leak#90

Open
quanjnq wants to merge 1 commit intobytedance:mainfrom
quanjnq:bugfix/free-curl-resource
Open

fix(ha_videx): free curl resources to prevent memory leak#90
quanjnq wants to merge 1 commit intobytedance:mainfrom
quanjnq:bugfix/free-curl-resource

Conversation

@quanjnq
Copy link

@quanjnq quanjnq commented Feb 11, 2026

Pull Request Summary

Fix memory leak by properly releasing curl handle and headers after HTTP requests in ha_videx.cc.

Detailed Description

  • Problem: curl_easy_cleanup() and curl_slist_free_all() were not called after curl_easy_perform(), causing memory leak on each HTTP request to videx_server.
  • Solution: Added cleanup calls for both MySQL and MariaDB versions of ha_videx.cc.

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.

1 participant