Projects
openEuler:22.03:LTS:LoongArch
util-linux
_service:tar_scm_kernel_repo:backport-libblkid-...
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm_kernel_repo:backport-libblkid-avoid-memory-leak-of-cachefile-path.patch of Package util-linux
From beead87f3b65b1e9149d27779f5aac215a1f8b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= <thomas@t-8ch.de> Date: Fri, 22 Sep 2023 11:20:04 +0200 Subject: [PATCH] libblkid: avoid memory leak of cachefile path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de> --- libblkid/src/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libblkid/src/config.c b/libblkid/src/config.c index f229b3e63..d3f5eea3d 100644 --- a/libblkid/src/config.c +++ b/libblkid/src/config.c @@ -155,6 +155,7 @@ dflt: fclose(f); return conf; err: + free(conf->cachefile); free(conf); fclose(f); return NULL; -- 2.33.0
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
.