Projects
Eulaceura:Mainline:GA
dim
_service:obs_scm:backport-set-dim_work_queue-to...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backport-set-dim_work_queue-to-NULL-after-fail-branch.patch of Package dim
From 849a1ffebc606304e8a47aaa1dac9001873ffff9 Mon Sep 17 00:00:00 2001 From: Huaxin Lu <luhuaxin1@huawei.com> Date: Thu, 9 May 2024 15:31:46 +0800 Subject: [PATCH 11/28] set dim_work_queue to NULL after fail branch --- src/core/dim_core_measure.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/dim_core_measure.c b/src/core/dim_core_measure.c index 6b8cd49..2ccd1a1 100644 --- a/src/core/dim_core_measure.c +++ b/src/core/dim_core_measure.c @@ -247,8 +247,10 @@ int dim_core_measure_init(struct dim_measure_cfg *cfg, unsigned int interval) return 0; err: dim_measure_destroy(&dim_core_handle); - if (dim_work_queue != NULL) + if (dim_work_queue != NULL) { destroy_workqueue(dim_work_queue); + dim_work_queue = NULL; + } return ret; } -- 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