Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Conarx Containers - MariaDB Docker Image
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker Containers
Conarx Containers - MariaDB Docker Image
Merge requests
!12
chore: updated to MariaDB 10.11.2 and Galera 26.4.13
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
chore: updated to MariaDB 10.11.2 and Galera 26.4.13
nkukard/containers-mariadb:nkupdates-edge
into
edge
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Nigel Kukard
requested to merge
nkukard/containers-mariadb:nkupdates-edge
into
edge
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
👍
0
👎
0
Merge request reports
Compare
edge
edge (base)
and
latest version
latest version
28288738
1 commit,
1 year ago
2 files
+
3
−
35
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
patches/galera-memory-leak-fix.patch deleted
100644 → 0
+
0
−
29
Options
From 0f7af311bf5e7e97fde68fc24fc852c7f50ee882 Mon Sep 17 00:00:00 2001
From: Teemu Ollakka <teemu.ollakka@galeracluster.com>
Date: Tue, 1 Nov 2022 17:09:39 +0200
Subject: [PATCH] Fix memory leak in gcs gcomm backend
The tp_ object is not deleted in GCommConn destructor, which leaks
memory if gcomm backed open fails (e.g. address already in use),
which in turn causes excessive leak reports when running with ASAN build.
In order to suppress excessive memory leak reports, delete tp_
object in GCommConn destructor.
codership/galera-bugs#834
---
gcs/src/gcs_gcomm.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcs/src/gcs_gcomm.cpp b/gcs/src/gcs_gcomm.cpp
index 2953c9afb..80a0431e8 100644
--- a/gcs/src/gcs_gcomm.cpp
+++ b/gcs/src/gcs_gcomm.cpp
@@ -164,6 +164,7 @@
class GCommConn : public Toplay
~GCommConn()
{
+ delete tp_;
delete net_;
}
Loading