[PR #999] [MERGED] Prefer new over malloc #1752

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/999
Author: @gaul
Created: 4/7/2019
Status: Merged
Merged: 4/7/2019
Merged by: @ggtakec

Base: masterHead: malloc


📝 Commits (1)

📊 Changes

10 files changed (+76 additions, -156 deletions)

View changed files

📝 src/common.h (+1 -3)
📝 src/common_auth.cpp (+4 -4)
📝 src/curl.cpp (+12 -12)
📝 src/fdcache.cpp (+5 -9)
📝 src/gnutls_auth.cpp (+17 -39)
📝 src/nss_auth.cpp (+6 -16)
📝 src/openssl_auth.cpp (+10 -27)
📝 src/s3fs.cpp (+2 -6)
📝 src/s3fs_util.cpp (+17 -34)
📝 src/string_util.cpp (+2 -6)

📄 Description

The former cannot return NULL and will allow use of scoped pointers.


🔄 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/999 **Author:** [@gaul](https://github.com/gaul) **Created:** 4/7/2019 **Status:** ✅ Merged **Merged:** 4/7/2019 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `malloc` --- ### 📝 Commits (1) - [`6f6a678`](https://github.com/s3fs-fuse/s3fs-fuse/commit/6f6a67807b1f562c130231373965002d3256b99a) Prefer new over malloc ### 📊 Changes **10 files changed** (+76 additions, -156 deletions) <details> <summary>View changed files</summary> 📝 `src/common.h` (+1 -3) 📝 `src/common_auth.cpp` (+4 -4) 📝 `src/curl.cpp` (+12 -12) 📝 `src/fdcache.cpp` (+5 -9) 📝 `src/gnutls_auth.cpp` (+17 -39) 📝 `src/nss_auth.cpp` (+6 -16) 📝 `src/openssl_auth.cpp` (+10 -27) 📝 `src/s3fs.cpp` (+2 -6) 📝 `src/s3fs_util.cpp` (+17 -34) 📝 `src/string_util.cpp` (+2 -6) </details> ### 📄 Description The former cannot return NULL and will allow use of scoped pointers. --- <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:59 +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#1752
No description provided.