[PR #408] [MERGED] Fix memory leak during SSL socket shutdown #1626

Closed
opened 2026-05-05 07:57:58 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debauchee/barrier/pull/408
Author: @p12tic
Created: 8/22/2019
Status: Merged
Merged: 8/22/2019
Merged by: @AdrianKoshka

Base: masterHead: fix-ssl-mem-leak


📝 Commits (1)

  • 71f2ca7 Fix memory leak during socket shutdown

📊 Changes

2 files changed (+17 additions, -11 deletions)

View changed files

📝 src/lib/net/SecureSocket.cpp (+15 -11)
📝 src/lib/net/SecureSocket.h (+2 -0)

📄 Description

Fixes #396. Full cleanup of the sockets happens only during the daemon shutdown, but if the socket is not useful (e.g. when a client with duplicate name connects and is refused), we still want to perform a full cleanup.


🔄 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/debauchee/barrier/pull/408 **Author:** [@p12tic](https://github.com/p12tic) **Created:** 8/22/2019 **Status:** ✅ Merged **Merged:** 8/22/2019 **Merged by:** [@AdrianKoshka](https://github.com/AdrianKoshka) **Base:** `master` ← **Head:** `fix-ssl-mem-leak` --- ### 📝 Commits (1) - [`71f2ca7`](https://github.com/debauchee/barrier/commit/71f2ca7c3533145692226b95f3362b39ae735b46) Fix memory leak during socket shutdown ### 📊 Changes **2 files changed** (+17 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/net/SecureSocket.cpp` (+15 -11) 📝 `src/lib/net/SecureSocket.h` (+2 -0) </details> ### 📄 Description Fixes #396. Full cleanup of the sockets happens only during the daemon shutdown, but if the socket is not useful (e.g. when a client with duplicate name connects and is refused), we still want to perform a full cleanup. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 07:57:58 -06: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: github-starred/barrier#1626
No description provided.