[PR #900] [MERGED] Plug memory leak #1683

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/900
Author: @gaul
Created: 1/18/2019
Status: Merged
Merged: 1/20/2019
Merged by: @ggtakec

Base: masterHead: leak


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 src/curl.cpp (+2 -1)

📄 Description

Previously this appended to an empty list, zeroed the list, then
appended to the list. Instead zero the list first and then append.
This also enables sending Content-MD5 which can eagerly detect
transmission errors. Found via Valgrind.


🔄 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/900 **Author:** [@gaul](https://github.com/gaul) **Created:** 1/18/2019 **Status:** ✅ Merged **Merged:** 1/20/2019 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `leak` --- ### 📝 Commits (1) - [`58ce544`](https://github.com/s3fs-fuse/s3fs-fuse/commit/58ce544e838de2b125fc21a82fcd48d25b366ac3) Plug memory leak ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+2 -1) </details> ### 📄 Description Previously this appended to an empty list, zeroed the list, then appended to the list. Instead zero the list first and then append. This also enables sending Content-MD5 which can eagerly detect transmission errors. Found via Valgrind. --- <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:40 +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#1683
No description provided.