Projects
Factory:RISC-V:Base
util-linux
_service:tar_scm:backport-Fix-memory-leaks-in-t...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Fix-memory-leaks-in-the-chcpu.patch of Package util-linux
From 8757959ac2b64aa30cb748822c858c0c2d0410dd Mon Sep 17 00:00:00 2001 From: jiazhenyuan <jiazhenyuan@uniontech.com> Date: Mon, 6 Sep 2021 16:50:27 +0800 Subject: [PATCH] Fix memory leaks in the chcpu --- sys-utils/chcpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-utils/chcpu.c b/sys-utils/chcpu.c index c4e5bc7..527bce5 100644 --- a/sys-utils/chcpu.c +++ b/sys-utils/chcpu.c @@ -383,6 +383,7 @@ int main(int argc, char *argv[]) break; } + CPU_FREE(cpu_set); ul_unref_path(sys); return rc == 0 ? EXIT_SUCCESS : -- 1.8.3.1
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