Projects
openEuler:24.03:SP1:Everything
e2fsprogs
_service:tar_scm:0016-fsck-fix-memory-leak-on-a...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0016-fsck-fix-memory-leak-on-an-error-exit.patch of Package e2fsprogs
From 7b76a84fd8f75fb53849a751db27d7dfd17bd8b6 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o <tytso@mit.edu> Date: Tue, 2 Jul 2024 11:23:47 +0800 Subject: [PATCH] fsck: fix memory leak on an error exit This reduces noise from a static analyzer. https://github.com/tytso/e2fsprogs/issues/160 Signed-off-by: Theodore Ts'o <tytso@mit.edu> --- misc/fsck.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/fsck.c b/misc/fsck.c index 1769a10..64d0e7c 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -806,6 +806,7 @@ static void compile_fs_type(char *fs_type, struct fs_type_compile *cmp) if ((negate && !cmp->negate) || (!negate && cmp->negate)) { fputs(_(fs_type_syntax_error), stderr); + free(list); exit(EXIT_USAGE); } } -- 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
.
浙ICP备2022010568号-2