Projects
openEuler:24.03:SP1:Everything
thin-provisioning-tools
_service:tar_scm:0014-file_utils-Fix-resource-l...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0014-file_utils-Fix-resource-leak.patch of Package thin-provisioning-tools
From 429e7f01d73f65952a844c406191d27258b353db Mon Sep 17 00:00:00 2001 From: Ming-Hung Tsai <mtsai@redhat.com> Date: Fri, 4 Jun 2021 21:37:02 +0800 Subject: [PATCH] [file_utils] Fix resource leak --- base/file_utils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/base/file_utils.cc b/base/file_utils.cc index 82536608..e6095f7a 100644 --- a/base/file_utils.cc +++ b/base/file_utils.cc @@ -159,6 +159,7 @@ file_utils::zero_superblock(std::string const &path) free(buffer); throw runtime_error("couldn't zero superblock"); } + free(buffer); } //----------------------------------------------------------------
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