Projects
Eulaceura:Mainline:GA
mokutil
_service:obs_scm:0005-mokutil-Fix-memory-leak-i...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0005-mokutil-Fix-memory-leak-in-export_db_keys.patch of Package mokutil
From 71140ef59ac8f7bbe445fca2ba90a6833d3cb8c6 Mon Sep 17 00:00:00 2001 From: gaoyusong <a869920004@163.com> Date: Thu, 22 Sep 2022 16:43:39 +0800 Subject: [PATCH] mokutil: Fix memory leak in export_db_keys Signed-off-by: gaoyusong <a869920004@163.com> --- src/mokutil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mokutil.c b/src/mokutil.c index d445311..9e947d5 100644 --- a/src/mokutil.c +++ b/src/mokutil.c @@ -1233,6 +1233,7 @@ export_db_keys (const DBName db_name) list = build_mok_list (data, data_size, &mok_num); if (list == NULL) { + free(data); return -1; } -- 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