Projects
openEuler:22.03:LTS:LoongArch
util-linux
_service:tar_scm_kernel_repo:backport-column-fi...
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-column-fix-memory-leak.patch of Package util-linux
From aad8a6079a5cfcf27344a2efdba61017049a927d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= <thomas@t-8ch.de> Date: Mon, 17 Jul 2023 21:07:18 +0200 Subject: [PATCH] column: fix memory leak 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> --- text-utils/column.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/text-utils/column.c b/text-utils/column.c index a443ab8b1..ad3d8f3d7 100644 --- a/text-utils/column.c +++ b/text-utils/column.c @@ -667,6 +667,8 @@ static int read_input(struct column_control *ctl, FILE *fp) } } while (rc == 0); + free(buf); + return rc; } -- 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
.