Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
pacemaker.16898
0001-Low-controller-avoid-memory-leak-when-dupl...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Low-controller-avoid-memory-leak-when-duplicate-moni.patch of Package pacemaker.16898
From 977e17f1377e30f53585beb0e82c652991942234 Mon Sep 17 00:00:00 2001 From: Ken Gaillot <kgaillot@redhat.com> Date: Tue, 30 Apr 2019 09:24:47 -0500 Subject: [PATCH] Low: controller: avoid memory leak when duplicate monitor is scheduled --- crmd/remote_lrmd_ra.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Index: pacemaker-1.1.18+20180430.b12c320f5/crmd/remote_lrmd_ra.c =================================================================== --- pacemaker-1.1.18+20180430.b12c320f5.orig/crmd/remote_lrmd_ra.c +++ pacemaker-1.1.18+20180430.b12c320f5/crmd/remote_lrmd_ra.c @@ -1,5 +1,7 @@ /* - * Copyright (C) 2013 David Vossel <davidvossel@gmail.com> + * Copyright 2013-2019 the Pacemaker project contributors + * + * The version control history for this file may have further details. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public @@ -1097,7 +1099,8 @@ remote_ra_exec(lrm_state_t *lrm_state, c cmd = handle_dup_monitor(ra_data, interval_ms, userdata); if (cmd) { - return cmd->call_id; + rc = cmd->call_id; + goto exec_done; } cmd = calloc(1, sizeof(remote_ra_cmd_t));
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