Projects
Eulaceura:Factory
mdadm
_service:obs_scm:0022-config.c-Fix-memory-leak-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0022-config.c-Fix-memory-leak-in-load_containers.patch of Package mdadm
From 44457789fd67168c37932060f9a991f0c611e5a2 Mon Sep 17 00:00:00 2001 From: Anna Sztukowska <anna.sztukowska@intel.com> Date: Fri, 28 Jun 2024 12:32:16 +0200 Subject: [PATCH] config.c: Fix memory leak in load_containers() Fix memory leak in load_containers() in config.c reported by SAST analysis. Signed-off-by: Anna Sztukowska <anna.sztukowska@intel.com> --- config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/config.c b/config.c index 612e700d..cd2379bd 100644 --- a/config.c +++ b/config.c @@ -379,6 +379,7 @@ struct mddev_dev *load_containers(void) map = NULL; } free_mdstat(mdstat); + map_free(map); return rv; } -- 2.39.2
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2