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

[XrdTls] Memory leak fixes in XrdTlsTempCA #1447

Merged
merged 1 commit into from
Apr 23, 2021
Merged

Conversation

jthiltges
Copy link
Contributor

  • Free XrdCryptoX509Chain when finished
  • Duplicate and close file descriptors to free memory

@bbockelm
Copy link
Contributor

@jthiltges - ran these through Valgrind. All looks good! I'd suggest to merge.

@abh3
Copy link
Member

abh3 commented Apr 23, 2021

This will be merged after JT updates the pull request to use SysFD which hasn't happened yet. JT? Please be aware we are on a tight timeline for releasing 5.2 and it would be good to have this patch in that release but it won't happen until this change occurs.

@jthiltges jthiltges marked this pull request as ready for review April 23, 2021 14:26
- Free XrdCryptoX509Chain when finished
- Duplicate file descriptors (with XrdSysFD_Dup to set O_CLOEXEC) and close to free memory
@jthiltges
Copy link
Contributor Author

PR updated with Brian's suggestions and squashed. Thank you for your time and attention, and please let me know if there's any further changes needed.

@abh3 abh3 merged commit 4ca38eb into xrootd:master Apr 23, 2021
@jthiltges jthiltges deleted the tempca-free branch March 8, 2023 16:26
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.

None yet

3 participants