Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
pacemaker.32052
bsc#1211678-0006-Fix-tools-Free-resource-node-m...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1211678-0006-Fix-tools-Free-resource-node-memory-in-crm_mon.patch of Package pacemaker.32052
From 4c8d0a49391b25722134c845f50a126a0e669dc0 Mon Sep 17 00:00:00 2001 From: Chris Lumens <clumens@redhat.com> Date: Tue, 26 Jan 2021 11:51:32 -0500 Subject: [PATCH 6/6] Fix: tools: Free --resource=/--node= memory in crm_mon. --- tools/crm_mon.c | 4 +++- tools/crm_mon_print.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) Index: pacemaker-2.0.5+20201202.ba59be712/tools/crm_mon.c =================================================================== --- pacemaker-2.0.5+20201202.ba59be712.orig/tools/crm_mon.c +++ pacemaker-2.0.5+20201202.ba59be712/tools/crm_mon.c @@ -2148,8 +2148,10 @@ clean_up(crm_exit_t exit_code) /* (1) Close connections, free things, etc. */ clean_up_connections(); - free(options.pid_file); free(options.neg_location_prefix); + free(options.only_node); + free(options.only_rsc); + free(options.pid_file); g_slist_free_full(options.includes_excludes, free); pe_free_working_set(mon_data_set); Index: pacemaker-2.0.5+20201202.ba59be712/tools/crm_mon_print.c =================================================================== --- pacemaker-2.0.5+20201202.ba59be712.orig/tools/crm_mon_print.c +++ pacemaker-2.0.5+20201202.ba59be712/tools/crm_mon_print.c @@ -775,6 +775,7 @@ print_status(pcmk__output_t *out, pe_wor } g_list_free_full(unames, free); + g_list_free_full(resources, free); } /*!
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor