[PR #768] [MERGED] Fixed memory leak #1634

Closed
opened 2026-03-04 02:01:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/768
Author: @ggtakec
Created: 5/27/2018
Status: Merged
Merged: 5/27/2018
Merged by: @ggtakec

Base: masterHead: master


📝 Commits (1)

📊 Changes

5 files changed (+99 additions, -63 deletions)

View changed files

📝 src/curl.cpp (+28 -23)
📝 src/curl.h (+1 -1)
📝 src/gnutls_auth.cpp (+4 -0)
📝 src/nss_auth.cpp (+7 -2)
📝 src/s3fs.cpp (+59 -37)

📄 Description

Relevant Issue (if applicable)

#748 #340

Details

Fixed the memory leak about #748(and #340)

  • Reviewed the processing such as destruction related to CurlHandlerPool.
  • Changed the initialization processing of the NSS library.
  • Changed to execute the CURL library initialization and destruction processing mainly.
    There was a call to CURL for bucket check before calling fuse_main, then initialization/destruction of CURL in s3fs_init/s3fs_destroy was inappropriate.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/768 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 5/27/2018 **Status:** ✅ Merged **Merged:** 5/27/2018 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`ae9d8eb`](https://github.com/s3fs-fuse/s3fs-fuse/commit/ae9d8eb73448bbe6a66797f16fac478988f68382) Fixed memory leak ### 📊 Changes **5 files changed** (+99 additions, -63 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+28 -23) 📝 `src/curl.h` (+1 -1) 📝 `src/gnutls_auth.cpp` (+4 -0) 📝 `src/nss_auth.cpp` (+7 -2) 📝 `src/s3fs.cpp` (+59 -37) </details> ### 📄 Description ### Relevant Issue (if applicable) #748 #340 ### Details Fixed the memory leak about #748(and #340) - Reviewed the processing such as destruction related to CurlHandlerPool. - Changed the initialization processing of the NSS library. - Changed to execute the CURL library initialization and destruction processing mainly. There was a call to CURL for bucket check before calling fuse_main, then initialization/destruction of CURL in s3fs_init/s3fs_destroy was inappropriate. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1634
No description provided.